Skip to content

Commit b3e52e9

Browse files
authored
Merge pull request #2340 from dgageot/board/tui-sidebar-delimiter-character-tester-82518f90
Fix scrollbar rendering in web terminals
2 parents c43c6d8 + 3ba1d86 commit b3e52e9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pkg/tui/components/scrollbar/scrollbar.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ type Model struct {
3434
func New() *Model {
3535
return &Model{
3636
width: Width,
37-
trackChar: "",
38-
thumbChar: "",
37+
trackChar: "",
38+
thumbChar: "",
3939
}
4040
}
4141

pkg/tui/styles/styles.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ var (
404404
// Scrollbar
405405
var (
406406
TrackStyle = lipgloss.NewStyle().Foreground(BorderSecondary)
407-
ThumbStyle = lipgloss.NewStyle().Foreground(Info).Background(BackgroundAlt).Bold(true)
408-
ThumbActiveStyle = lipgloss.NewStyle().Foreground(White).Background(BackgroundAlt).Bold(true)
407+
ThumbStyle = lipgloss.NewStyle().Foreground(Info).Background(BackgroundAlt)
408+
ThumbActiveStyle = lipgloss.NewStyle().Foreground(White).Background(BackgroundAlt)
409409
)
410410

411411
// Resize Handle Style

pkg/tui/styles/theme.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,8 +1161,8 @@ func rebuildStyles() {
11611161

11621162
// Scrollbar styles
11631163
TrackStyle = lipgloss.NewStyle().Foreground(BorderSecondary)
1164-
ThumbStyle = lipgloss.NewStyle().Foreground(Info).Background(BackgroundAlt).Bold(true)
1165-
ThumbActiveStyle = lipgloss.NewStyle().Foreground(White).Background(BackgroundAlt).Bold(true)
1164+
ThumbStyle = lipgloss.NewStyle().Foreground(Info).Background(BackgroundAlt)
1165+
ThumbActiveStyle = lipgloss.NewStyle().Foreground(White).Background(BackgroundAlt)
11661166

11671167
// Resize handle styles
11681168
ResizeHandleStyle = BaseStyle.Foreground(BorderSecondary)

0 commit comments

Comments
 (0)