Skip to content

Commit

Permalink
fix: items with hotkeys having slightly bigger height
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Dec 21, 2024
1 parent 3477e08 commit 79fe261
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/4-user-interface/quick-switcher_command-palette.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ body:not(.is-mobile) .prompt .suggestion-item {
position: relative;
}

/* FIX items with hotkey info having slightly higher height, even in Obsidian
* default theme (suggestion-aux = hotkey info) */
.prompt .suggestion-aux {
line-height: 1;
}

body:not(.is-mobile) .prompt .suggestion-prefix.suggestion-prefix {
position: absolute;
top: 5px;
Expand Down

0 comments on commit 79fe261

Please sign in to comment.