feat: Some style updates, form improvements on project-room view.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user