feat: Adds thermal balance point, still need to implement economic balance point.
This commit is contained in:
@@ -26,7 +26,7 @@ public struct WarningBox<Header: HTML>: HTML, Sendable {
|
||||
div(.id("warnings")) {
|
||||
if warnings.count > 0 {
|
||||
header(warnings)
|
||||
ul(.class("list-disc mx-10")) {
|
||||
ul(.class("list-disc mx-10 mt-4")) {
|
||||
for warning in warnings {
|
||||
li { warning }
|
||||
}
|
||||
@@ -52,7 +52,7 @@ public extension WarningBox where Header == HTMLElement<HTMLTag.span, HTMLText>
|
||||
self.init(
|
||||
warnings: warnings,
|
||||
header: { warnings in
|
||||
span(.class("font-semibold mb-4 border-b")) { "Warning\(warnings.count > 1 ? "s:" : ":")" }
|
||||
span(.class("font-semibold mb-4 border-b border-amber-500")) { "Warning\(warnings.count > 1 ? "s:" : ":")" }
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user