kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Button: remove text-decoration when wrapped with a <Link/>
rodzic
73e4d00cc2
commit
65891a904c
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -37,6 +37,10 @@ button {
|
|||
margin-right: 5px;
|
||||
}
|
||||
|
||||
&__link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
|
|
Ładowanie…
Reference in New Issue