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

profile-avatar-switcher
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) { if (this.props.to) {
return ( return (
<Link to={this.props.to} tabIndex={-1}> <Link to={this.props.to} tabIndex={-1} className='button__link'>
{btn} {btn}
</Link> </Link>
); );

Wyświetl plik

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