Fix table formatting

This commit is contained in:
2025-03-07 14:13:25 -05:00
parent 0d386e2d9f
commit e9375ee384
4 changed files with 42 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ func AppLayout(title string, identity auth.Identity, session map[string]interfac
Icon(ICON_USERS, 24),
Group{
navbarDropdownItem("My Profile", "/app/account", false),
navbarDropdownItem("Logout", "/auth/logout", false),
navbarDropdownItem("Lock Vault", "/auth/logout", false),
},
),
),

View File

@@ -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"),