Skip to content

Commit

Permalink
style(ui): adjust code block margin in dark style configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nullswan committed Oct 6, 2024
1 parent 07208ee commit 9c2162d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ui/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
var styleOpt glamour.TermRendererOption
darkStyle := styles.DarkStyleConfig
darkStyle.Document.Margin = uintPtr(0)
darkStyle.CodeBlock.Margin = uintPtr(0)
styleOpt = glamour.WithStyles(darkStyle)

// Initialize the glamour renderer
Expand Down

0 comments on commit 9c2162d

Please sign in to comment.