diff --git a/public/static/style.css b/public/static/style.css index 0dad031..55dc8cf 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -1,3 +1,10 @@ +body +{ + display: flex; + flex-direction: column; + align-items: center; +} + #inputs, #options-create { display: flex; diff --git a/src/Main.hs b/src/Main.hs index 8805823..66b20a0 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -108,7 +108,7 @@ createPage = pure $ do optionInput optionInput with button_ [hxGet_ "create/newInput", hxTarget_ "this", hxSwap_ "beforebegin"] "add option" - input_ [type_ "submit", classes_ ["btn-small", "paper-btn", "btn-primary"]] + input_ [type_ "submit", classes_ ["paper-btn", "btn-primary"], value_ "submit"] -- notFoundPage = pure $ ("this is the 404 page")