sync
This commit is contained in:
parent
d45d5d664c
commit
1fb54efdd2
25 changed files with 149 additions and 142 deletions
|
|
@ -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()),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue