diff options
Diffstat (limited to 'internal/client/ui/core/usersettings/usersettings.go')
| -rw-r--r-- | internal/client/ui/core/usersettings/usersettings.go | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/internal/client/ui/core/usersettings/usersettings.go b/internal/client/ui/core/usersettings/usersettings.go index 49fa4ea..b4ca29d 100644 --- a/internal/client/ui/core/usersettings/usersettings.go +++ b/internal/client/ui/core/usersettings/usersettings.go @@ -130,17 +130,22 @@ func (m Model) View() string { } private = privateStyle.Render(private) - update := lipgloss.NewStyle().Width(m.nameWidth). - Background(colors.Background).Align(lipgloss.Center). + update := lipgloss.NewStyle(). + Width(m.nameWidth). + Background(colors.Background). + Align(lipgloss.Center). Render(m.update) content := flex.NewVertical(name, description, private, update).WithGap(1).View() return lipgloss.NewStyle(). - Padding(1, 4).Align(lipgloss.Center, lipgloss.Center). Border(lipgloss.ThickBorder()). - BorderBackground(colors.Background).BorderForeground(colors.White). - Background(colors.Background).Foreground(colors.White). + Padding(1, 4). + Align(lipgloss.Center, lipgloss.Center). + BorderBackground(colors.Background). + BorderForeground(colors.White). + Background(colors.Background). + Foreground(colors.White). Render(content) } |
