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:
Any Ruiz 2020-06-26 05:10:01 -05:00 committed by GitHub
parent f88a790d16
commit 991ce29050
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -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;

View file

@ -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;
};