Fix table formatting
This commit is contained in:
@@ -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),
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
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