better v1 detection, better menu-item consistency

This commit is contained in:
Henry Jameson 2024-02-27 17:03:39 +02:00
commit c83ddb0b2b
6 changed files with 57 additions and 12 deletions

View file

@ -10,7 +10,7 @@
>
<component
:is="routeTo ? 'a' : 'button'"
class="main-link button-unstyled"
class="main-link"
:href="href"
@click="navigate"
>
@ -84,11 +84,23 @@
}
.main-link {
background: none;
border: none;
outline: none;
display: inline;
text-align: initial;
font-size: 100%;
font-family: inherit;
line-height: unset;
cursor: pointer;
box-sizing: content-box;
color: var(--text);
flex: 1;
padding: 0 1em;
}
.menu-icon {
color: var(--icon);
margin-right: 0.8em;
}