diff --git a/frontend/src/Datarekisteri/Frontend/Types.hs b/frontend/src/Datarekisteri/Frontend/Types.hs index 5d1ae6f..079e124 100644 --- a/frontend/src/Datarekisteri/Frontend/Types.hs +++ b/frontend/src/Datarekisteri/Frontend/Types.hs @@ -204,6 +204,9 @@ instance Yesod DataIdClient where --bg-colour: #ffffff; --fg-colour: #181c22; } + * { + box-sizing: border-box; + } html { font-family: "Fira Sans", sans-serif; height: 100%; @@ -239,7 +242,7 @@ instance Yesod DataIdClient where margin-bottom: 0.3em; } form { - max-width: 20em; + max-width: min(30em,100%); } summary > h2 { display: inline-block; @@ -330,6 +333,7 @@ instance Yesod DataIdClient where $doctype 5 + #{pageTitle p} ^{pageHead p} <body>