chore: use <menu> instead of <ul>

This commit is contained in:
kolaente 2023-04-01 22:02:08 +02:00
parent e25273df48
commit 49fac7db1c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 7 additions and 3 deletions

View File

@ -6,7 +6,7 @@
@start="() => drag = true"
@end="saveProjectPosition"
handle=".handle"
tag="ul"
tag="menu"
item-key="id"
:disabled="!canEditOrder"
:component-data="{

View File

@ -14,6 +14,10 @@
}
.menu-list {
list-style: none;
margin: 0;
padding: 0;
&.other-menu-items li,
li > section {
height: 44px;
@ -42,7 +46,7 @@
}
}
li > ul {
li > menu {
margin: 0 0 0 var(--menu-nested-list-margin);
}
@ -126,7 +130,7 @@
cursor: grab;
}
ul {
menu {
border-left: 0;
}
}