mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-20 13:53:30 +00:00
Fix glitch local settings navigation items not being proper buttons (#2320)
This commit is contained in:
parent
dd09535bda
commit
49767d20bd
|
@ -58,16 +58,14 @@ export default class LocalSettingsPage extends PureComponent {
|
|||
</a>
|
||||
);
|
||||
else if (onNavigate) return (
|
||||
<a
|
||||
<button
|
||||
onClick={handleClick}
|
||||
role='button'
|
||||
tabIndex={0}
|
||||
className={finalClassName}
|
||||
title={title}
|
||||
aria-label={title}
|
||||
>
|
||||
{iconElem} <span>{title}</span>
|
||||
</a>
|
||||
</button>
|
||||
);
|
||||
else return null;
|
||||
}
|
||||
|
|
|
@ -56,11 +56,16 @@
|
|||
padding: 15px 20px;
|
||||
color: inherit;
|
||||
background: lighten($ui-secondary-color, 8%);
|
||||
border: 0;
|
||||
border-bottom: 1px $ui-secondary-color solid;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
transition: background 0.3s;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
text-align: start;
|
||||
font-size: inherit;
|
||||
|
||||
.text-icon-button {
|
||||
color: inherit;
|
||||
|
|
Loading…
Reference in a new issue