fix: make the login screen layout adapt to resizes

This commit is contained in:
2022-01-25 00:05:34 +02:00
parent 4ba51b7f8d
commit 4132faebe1
4 changed files with 37 additions and 27 deletions
-7
View File
@@ -23,13 +23,6 @@ var (
Width(0).
Height(0)
DialogStyle = lipgloss.NewStyle().
Border(lipgloss.RoundedBorder(), true).
Align(lipgloss.Center).
Width(50).
Padding(3, 6).
BorderForeground(lipgloss.Color("105"))
CursorStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("105"))
FocusedStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("105"))
NoStyle = lipgloss.NewStyle()