Skip to content

Commit 38a194d

Browse files
authored
Merge pull request #623 from rumpl/nicer-palette
Less padding and margin in the command palette
2 parents 92eb09a + 6063632 commit 38a194d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/tui/dialog/command_palette.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ func (d *commandPaletteDialog) View() string {
246246
}
247247

248248
help := styles.DialogHelpStyle.
249-
MarginTop(1).
250249
Width(contentWidth).
251250
Render("↑/↓ navigate • enter execute • esc close")
252251

pkg/tui/styles/styles.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ var (
110110
Border(lipgloss.RoundedBorder()).
111111
BorderForeground(BorderSecondary).
112112
Foreground(TextPrimary).
113-
Padding(2, 3).
113+
Padding(1, 2).
114114
Align(lipgloss.Left)
115115

116116
DialogWarningStyle = BaseStyle.

0 commit comments

Comments
 (0)