mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
Change item alignment
This commit is contained in:
parent
1cdbddff9b
commit
bfc452658a
@ -140,11 +140,12 @@
|
||||
<span :style="item.textStyle || ''">{{
|
||||
item.text
|
||||
}}</span>
|
||||
<span class="caret"
|
||||
><i
|
||||
<i
|
||||
class="ph-caret-right ph-bold ph-lg ph-fw ph-lg"
|
||||
style="margin-left: auto;
|
||||
margin-right: unset;"
|
||||
></i
|
||||
></span>
|
||||
>
|
||||
</button>
|
||||
<button
|
||||
v-else-if="!item.hidden"
|
||||
@ -352,8 +353,9 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
|
||||
> .item {
|
||||
display: block;
|
||||
display: flex;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
padding: 6px 16px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
@ -472,10 +474,6 @@ onBeforeUnmount(() => {
|
||||
align-items: center;
|
||||
cursor: default;
|
||||
|
||||
> .caret {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
&.childShowing {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
|
Loading…
Reference in New Issue
Block a user