Compare commits
2 Commits
fd0a1c45e7
...
23d1cae737
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23d1cae737 | ||
|
|
3f60ab8355 |
File diff suppressed because one or more lines are too long
@@ -137,7 +137,18 @@ func (s *DetailScreen) Update(msg tea.Msg) (Screen, tea.Cmd) {
|
||||
func (s *DetailScreen) View() string {
|
||||
// Handle config display modal
|
||||
if s.showConfig && s.configDisplay != nil {
|
||||
return s.configDisplay.View()
|
||||
// Render underlying content dimmed
|
||||
content := s.renderContent()
|
||||
dimmedContent := lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color("244")).
|
||||
Render(content)
|
||||
|
||||
// Overlay config display modal
|
||||
return lipgloss.JoinVertical(
|
||||
lipgloss.Left,
|
||||
dimmedContent,
|
||||
s.configDisplay.View(),
|
||||
)
|
||||
}
|
||||
|
||||
// Handle confirmation modal
|
||||
|
||||
Reference in New Issue
Block a user