Diff
1diff --git a/ui/components/selector/selector.go b/ui/components/selector/selector.go
2index 9c99755f506837eb7ac86ab83c2b3ad2871a1d5b..7d65eb6552ab989c6b23b8887b3f3b26e543ec09 100644
3--- a/ui/components/selector/selector.go
4+++ b/ui/components/selector/selector.go
5@@ -40,6 +40,7 @@ func New(common common.Common, items []IdentifiableItem, delegate ItemDelegate)
6 itms[i] = item
7 }
8 l := list.New(itms, delegate, common.Width, common.Height)
9+ l.Styles.NoItems = common.Styles.NoItems
10 s := &Selector{
11 Model: l,
12 common: common,
13diff --git a/ui/pages/repo/readme.go b/ui/pages/repo/readme.go
14index e10eb3c6b55603d17680969fa95b0eacb25a5560..2743a9f831927f0714b39eb7f1caa9abe1fbfbec 100644
15--- a/ui/pages/repo/readme.go
16+++ b/ui/pages/repo/readme.go
17@@ -28,7 +28,7 @@ type Readme struct {
18 // NewReadme creates a new readme model.
19 func NewReadme(common common.Common) *Readme {
20 readme := code.New(common, "", "")
21- readme.NoContentStyle = readme.NoContentStyle.SetString("No readme found.")
22+ readme.NoContentStyle = readme.NoContentStyle.Copy().SetString("No readme found.")
23 return &Readme{
24 code: readme,
25 common: common,
26diff --git a/ui/styles/styles.go b/ui/styles/styles.go
27index 1faac44f93d5ec404baf53f943c41b0bea4519ee..63805bbbead4012bce1c5c6ff3c11a24448228ec 100644
28--- a/ui/styles/styles.go
29+++ b/ui/styles/styles.go
30@@ -59,8 +59,6 @@ type Styles struct {
31 ErrorTitle lipgloss.Style
32 ErrorBody lipgloss.Style
33
34- AboutNoReadme lipgloss.Style
35-
36 LogItem struct {
37 Normal struct {
38 Base lipgloss.Style
39@@ -277,11 +275,6 @@ func DefaultStyles() *Styles {
40 Foreground(lipgloss.Color("252")).
41 MarginLeft(2)
42
43- s.AboutNoReadme = lipgloss.NewStyle().
44- MarginTop(1).
45- MarginLeft(2).
46- Foreground(lipgloss.Color("242"))
47-
48 s.LogItem.Normal.Base = lipgloss.NewStyle().
49 Border(lipgloss.Border{
50 Left: " ",
51@@ -417,7 +410,9 @@ func DefaultStyles() *Styles {
52 MarginLeft(2).
53 Foreground(lipgloss.Color("242"))
54
55- s.NoItems = s.AboutNoReadme.Copy()
56+ s.NoItems = lipgloss.NewStyle().
57+ MarginLeft(2).
58+ Foreground(lipgloss.Color("242"))
59
60 s.StatusBar = lipgloss.NewStyle().
61 Height(1)