add completion message to task modal and make it wider

This commit is contained in:
Robin Olsen
2026-03-11 11:40:08 +01:00
parent 839ce95c37
commit 34542a9670
3 changed files with 7 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ templ Modal(props ModalProps) {
{{
maxWidth := props.MaxWidth
if maxWidth == "" {
maxWidth = "max-w-xl"
maxWidth = "max-w-2xl"
}
}}
<div

View File

@@ -41,7 +41,7 @@ func Modal(props ModalProps) templ.Component {
ctx = templ.ClearChildren(ctx)
maxWidth := props.MaxWidth
if maxWidth == "" {
maxWidth = "max-w-xl"
maxWidth = "max-w-2xl"
}
var templ_7745c5c3_Var2 = []any{"fixed inset-0 z-50 items-center justify-center mx-auto", maxWidth}
templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var2...)