|
@@ -138,11 +138,7 @@ func (s *sessionDialogComponent) View() string {
|
|
|
content := lipgloss.JoinVertical(
|
|
content := lipgloss.JoinVertical(
|
|
|
lipgloss.Left,
|
|
lipgloss.Left,
|
|
|
title,
|
|
title,
|
|
|
- // baseStyle.Width(width).Render(""),
|
|
|
|
|
- "",
|
|
|
|
|
s.list.View(),
|
|
s.list.View(),
|
|
|
- "",
|
|
|
|
|
- // baseStyle.Width(width).Render(""),
|
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
style := styles.BaseStyle().
|
|
style := styles.BaseStyle().
|
|
@@ -157,16 +153,12 @@ func (s *sessionDialogComponent) View() string {
|
|
|
style = style.
|
|
style = style.
|
|
|
BorderLeft(true).
|
|
BorderLeft(true).
|
|
|
BorderRight(true).
|
|
BorderRight(true).
|
|
|
- // AlignHorizontal(align).
|
|
|
|
|
BorderLeftForeground(t.BackgroundSubtle()).
|
|
BorderLeftForeground(t.BackgroundSubtle()).
|
|
|
BorderLeftBackground(t.Background()).
|
|
BorderLeftBackground(t.Background()).
|
|
|
BorderRightForeground(t.BackgroundSubtle()).
|
|
BorderRightForeground(t.BackgroundSubtle()).
|
|
|
BorderRightBackground(t.Background())
|
|
BorderRightBackground(t.Background())
|
|
|
|
|
|
|
|
return style.
|
|
return style.
|
|
|
- // Border(lipgloss.ThickBorder()).
|
|
|
|
|
- // BorderBackground(t.BackgroundElement()).
|
|
|
|
|
- // BorderForeground(t.BorderSubtle()).
|
|
|
|
|
Width(outerWidth).
|
|
Width(outerWidth).
|
|
|
Render(content)
|
|
Render(content)
|
|
|
}
|
|
}
|