mirror of
https://github.com/charmbracelet/gum.git
synced 2024-10-05 18:29:23 +03:00
fix: also drop left padding in choose (#597)
* fix: also drop left padding in choose * chore(choose): wipe base theme Co-authored-by: Maas Lalani <maas@lalani.dev> --------- Co-authored-by: Maas Lalani <maas@lalani.dev>
This commit is contained in:
parent
baf36ae662
commit
fa2f67d1d6
@ -35,7 +35,7 @@ func (o Options) Run() error {
|
||||
theme := huh.ThemeCharm()
|
||||
options := huh.NewOptions(o.Options...)
|
||||
|
||||
theme.Focused.Base = theme.Focused.Base.Border(lipgloss.Border{})
|
||||
theme.Focused.Base = lipgloss.NewStyle()
|
||||
theme.Focused.Title = o.HeaderStyle.ToLipgloss()
|
||||
theme.Focused.SelectSelector = o.CursorStyle.ToLipgloss().SetString(o.Cursor)
|
||||
theme.Focused.MultiSelectSelector = o.CursorStyle.ToLipgloss().SetString(o.Cursor)
|
||||
|
Loading…
Reference in New Issue
Block a user