Skip to content

Commit

Permalink
style: adjust preview styling
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 committed Jan 2, 2025
1 parent 46637d7 commit 62e5abb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/settings/SettingsBottomNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,14 @@ const hideLabel = useHideBottomNavigationLabel()
{{ $t('settings.interface.bottom_nav_instructions') }}
</p>
<!-- preview -->
<div aria-hidden="true" flex="~ gap4 wrap" items-center select-settings h-auto>
<div aria-hidden="true" flex="~ wrap" items-center select-settings p-0 pt-1 h-14>
<nav
v-for="availableNavButton in selectedNavButtons" :key="availableNavButton.name"
flex="~ col 1" items-center justify-center text-xl
scrollbar-hide overscroll-none
:class="hideLabel ? null : 'gap-1'"
>
<span :class="availableNavButton.icon" />
<span v-if="!hideLabel" text-xs text-center>{{ $t(availableNavButton.label) }}</span>
<span v-if="!hideLabel" text-2.5 text-center>{{ $t(availableNavButton.label) }}</span>
</nav>
</div>

Expand Down

0 comments on commit 62e5abb

Please sign in to comment.