mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Change item alignment
This commit is contained in:
parent
1cdbddff9b
commit
bfc452658a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user