add icon margin on menu list views instead

This commit is contained in:
axolotle 2021-04-09 21:34:07 +02:00
parent e2cdaa10be
commit 166e062f3b
3 changed files with 6 additions and 12 deletions

View file

@ -33,12 +33,10 @@ body {
min-height: 100vh
}
.menu-list {
.list-group-item {
padding: $list-group-item-padding-y 0;
display: flex;
align-items: center;
}
.menu-list .list-group-item {
padding: $list-group-item-padding-y 0;
display: flex;
align-items: center;
}
@ -114,10 +112,6 @@ body {
top: 2px;
}
.list-group-item .icon {
margin-left: 0.3rem;
}
// Fork-awesome overrides
.fa-fw {
width: 1.25em !important;

View file

@ -6,7 +6,7 @@
:key="item.routeName"
:to="{ name: item.routeName }"
>
<icon :iname="item.icon" class="lg" />
<icon :iname="item.icon" class="lg ml-1" />
<h4>{{ $t(item.translation) }}</h4>
<icon iname="chevron-right" class="lg fs-sm ml-auto" />
</b-list-group-item>

View file

@ -6,7 +6,7 @@
:key="item.routeName"
:to="{name: item.routeName}"
>
<icon :iname="item.icon" class="lg" />
<icon :iname="item.icon" class="lg ml-1" />
<h4>{{ $t(item.translation) }}</h4>
<icon iname="chevron-right" class="lg fs-sm ml-auto" />
</b-list-group-item>