Fix table formatting
This commit is contained in:
11
ui/modals.go
11
ui/modals.go
@@ -52,7 +52,16 @@ func Modal(id string, header Node, body Node, closeElements []Node) Node {
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
`),
|
||||
header,
|
||||
|
||||
IfElse(header == nil,
|
||||
InlineStyle(`
|
||||
$me {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
`),
|
||||
header,
|
||||
),
|
||||
|
||||
|
||||
Div(
|
||||
Class("modal-close-el"),
|
||||
|
||||
Reference in New Issue
Block a user