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:
Christian Rocha 2024-06-02 07:51:03 -04:00 committed by GitHub
parent baf36ae662
commit fa2f67d1d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)