a bit clearer draft editing flow, partially divorced menu-item from list-item

This commit is contained in:
Henry Jameson 2024-12-30 03:10:11 +02:00
commit 68e8a24f18
8 changed files with 74 additions and 32 deletions

View file

@ -390,6 +390,20 @@ nav {
}
}
.menu-item {
line-height: var(--__line-height);
font-family: inherit;
font-weight: 400;
font-size: 100%;
cursor: pointer;
a,
button:not(.button-default) {
color: var(--text);
font-size: 100%;
}
}
.menu-item,
.list-item {
display: block;
@ -397,10 +411,6 @@ nav {
border: none;
outline: none;
text-align: initial;
font-size: inherit;
font-family: inherit;
font-weight: 400;
cursor: pointer;
color: inherit;
clear: both;
position: relative;
@ -410,7 +420,6 @@ nav {
border-width: 0;
border-top-width: 1px;
width: 100%;
line-height: var(--__line-height);
padding: var(--__vertical-gap) var(--__horizontal-gap);
background: transparent;
@ -450,10 +459,8 @@ nav {
border: none;
outline: none;
display: inline;
font-size: 100%;
font-family: inherit;
line-height: unset;
color: var(--text);
}
&:first-child {