Skip to content

Commit

Permalink
fix: space above pagination dots and pagination bug (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny Guduru authored Apr 9, 2024
1 parent e08b2f2 commit adbc53c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/quickstart/choose_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type chooseSDKModel struct {
}

func NewChooseSDKModel(selectedIndex int) tea.Model {
l := list.New(sdksToItems(), sdkDelegate{}, 30, 14)
l := list.New(sdksToItems(), sdkDelegate{}, 30, 9)
l.Title = "Select your SDK:\n"
// reset title styles
l.Styles.Title = lipgloss.NewStyle()
Expand All @@ -40,7 +40,6 @@ func NewChooseSDKModel(selectedIndex int) tea.Model {
l.SetShowPagination(true)
l.SetShowStatusBar(false)
l.SetFilteringEnabled(false) // TODO: try to get filtering working
l.Paginator.PerPage = 5

return chooseSDKModel{
help: help.New(),
Expand Down

0 comments on commit adbc53c

Please sign in to comment.