Skip to content

Commit

Permalink
Move Search Keyboard Shortcut Label (#38)
Browse files Browse the repository at this point in the history
* Initializing Move_Search_Keyboard_Shortcut_Label for empty Pull Request

* Nudge the keyboard shorcut label over a bit when there's a search entered
  • Loading branch information
V13Axel authored Nov 17, 2023
1 parent dc931af commit 6be6251
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ onMounted(() => {
/>

<div
class="absolute inset-y-0 right-0 flex py-1.5 pr-2 hidden md:block"
class="absolute inset-y-0 right-0 py-1.5 pr-2 grid place-items-center"
:class="{ 'right-8': filters.search.length }"
>
<kbd
class="inline-flex items-center border border-gray-200 dark:border-gray-600 rounded px-2 text-sm font-sans font-medium text-gray-400"
Expand Down

0 comments on commit 6be6251

Please sign in to comment.