Change item alignment

This commit is contained in:
Jeder 2023-09-04 00:11:28 +02:00
parent 1cdbddff9b
commit bfc452658a

View File

@ -140,11 +140,12 @@
<span :style="item.textStyle || ''">{{ <span :style="item.textStyle || ''">{{
item.text item.text
}}</span> }}</span>
<span class="caret" <i
><i
class="ph-caret-right ph-bold ph-lg ph-fw ph-lg" class="ph-caret-right ph-bold ph-lg ph-fw ph-lg"
style="margin-left: auto;
margin-right: unset;"
></i ></i
></span> >
</button> </button>
<button <button
v-else-if="!item.hidden" v-else-if="!item.hidden"
@ -352,8 +353,9 @@ onBeforeUnmount(() => {
} }
> .item { > .item {
display: block; display: flex;
position: relative; position: relative;
align-items: center;
padding: 6px 16px; padding: 6px 16px;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@ -472,10 +474,6 @@ onBeforeUnmount(() => {
align-items: center; align-items: center;
cursor: default; cursor: default;
> .caret {
margin-left: auto;
}
&.childShowing { &.childShowing {
color: var(--accent); color: var(--accent);
text-decoration: none; text-decoration: none;