feat: Some style updates, form improvements on project-room view.

This commit is contained in:
2026-01-06 16:58:42 -05:00
parent 8fb313fddc
commit dbf7e3b1b4
10 changed files with 103 additions and 57 deletions

View File

@@ -65,7 +65,7 @@ public struct EditButton: HTML, Sendable {
}
public var body: some HTML<HTMLTag.button> {
button(.class("btn btn-success dark:text-white"), .type(type)) {
button(.class("btn btn-success btn-circle dark:text-white"), .type(type)) {
div(.class("flex")) {
if let title {
span(.class("pe-2")) { title }
@@ -83,7 +83,7 @@ public struct PlusButton: HTML, Sendable {
public var body: some HTML<HTMLTag.button> {
button(
.type(.button),
.class("btn btn-primary")
.class("btn btn-primary btn-circle text-xl")
) { SVG(.circlePlus) }
}
}
@@ -94,7 +94,7 @@ public struct TrashButton: HTML, Sendable {
public var body: some HTML<HTMLTag.button> {
button(
.type(.button),
.class("btn btn-error dark:text-white")
.class("btn btn-error btn-circle dark:text-white")
) {
SVG(.trash)
}