Fix incorrect styling of fork in repo list (#8876)
* Fix incorrect styling of fork in repo list * Update styles with crayon-indicator component
This commit is contained in:
parent
f88a790d16
commit
991ce29050
2 changed files with 8 additions and 1 deletions
|
|
@ -41,6 +41,9 @@ $input-width: 650px;
|
|||
display: block;
|
||||
float: right;
|
||||
}
|
||||
.crayons-indicator {
|
||||
margin-left: 5px;
|
||||
}
|
||||
button,
|
||||
a[role='button'] {
|
||||
transition: all 0.4s ease;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,11 @@ export class SingleRepo extends Component {
|
|||
forkLabel = () => {
|
||||
const { fork } = this.props;
|
||||
if (fork) {
|
||||
return <span className="github-repo-fork">fork</span>;
|
||||
return (
|
||||
<span className="crayons-indicator crayons-indicator--accent">
|
||||
fork
|
||||
</span>
|
||||
);
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue