(style) add min-width to shortcut note of the search button so that the nav bar does not jump horizontally

This commit is contained in:
Valentyne Stigloher 2025-01-26 15:48:12 +01:00
parent e4eaf8b651
commit b608274450

View File

@ -26,9 +26,11 @@
<Icon v="search" :size="1.6" />
<br>
<T>search.header</T>
<ClientOnly>
<kbd class="bg-light text-dark border">{{ isMac ? '⌘K' : 'Ctrl+K' }}</kbd>
</ClientOnly>
<span class="d-inline-block" style="min-width: 5em">
<ClientOnly>
<kbd class="bg-light text-dark border">{{ isMac ? '⌘K' : 'Ctrl+K' }}</kbd>
</ClientOnly>
</span>
</span>
<div class="nav-item flex-grow-0" @mouseenter="hoverItem = null">
<VersionDropdown end />