This commit is contained in:
Dax Raad 2025-08-07 00:41:50 -04:00
commit 1fb54efdd2
25 changed files with 149 additions and 142 deletions

View file

@ -54,6 +54,8 @@ func WithBackgroundColor(color compat.AdaptiveColor) renderingOption {
func WithNoBorder() renderingOption {
return func(c *blockRenderer) {
c.border = false
c.paddingLeft++
c.paddingRight++
}
}
@ -302,7 +304,7 @@ func renderText(
return renderContentBlock(
app,
content,
width+2,
width,
WithNoBorder(),
WithBackgroundColor(t.Background()),
)