Skip to content

Commit

Permalink
fix: remove border left on active element
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed May 31, 2024
1 parent 657c76e commit baf36ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion choose/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (o Options) Run() error {
theme := huh.ThemeCharm()
options := huh.NewOptions(o.Options...)

theme.Focused.Base.Border(lipgloss.Border{})
theme.Focused.Base = theme.Focused.Base.Border(lipgloss.Border{})
theme.Focused.Title = o.HeaderStyle.ToLipgloss()
theme.Focused.SelectSelector = o.CursorStyle.ToLipgloss().SetString(o.Cursor)
theme.Focused.MultiSelectSelector = o.CursorStyle.ToLipgloss().SetString(o.Cursor)
Expand Down

0 comments on commit baf36ae

Please sign in to comment.