Button: remove text-decoration when wrapped with a <Link/>

merge-requests/788/head
Alex Gleason 2021-10-14 08:22:17 -05:00
rodzic 73e4d00cc2
commit 65891a904c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -66,7 +66,7 @@ export default class Button extends React.PureComponent {
if (this.props.to) {
return (
<Link to={this.props.to} tabIndex={-1}>
<Link to={this.props.to} tabIndex={-1} className='button__link'>
{btn}
</Link>
);

Wyświetl plik

@ -37,6 +37,10 @@ button {
margin-right: 5px;
}
&__link {
text-decoration: none;
}
&:active,
&:focus,
&:hover {