diff --git a/templates/default-layout.hamlet b/templates/default-layout.hamlet index 5f81f4e07..8a1c8261f 100644 --- a/templates/default-layout.hamlet +++ b/templates/default-layout.hamlet @@ -12,20 +12,22 @@ $if not $ Just HomeR == mcurrentRoute ^{breadcrumbs} - $maybe headline <- contentHeadline -

- ^{headline} +
- - ^{pageactionprime} + $maybe headline <- contentHeadline +

+ ^{headline} - - $forall (status, msg) <- mmsgs - $with status2 <- bool status "info" (status == "") -
-
- #{msg} + + ^{pageactionprime} - + + $forall (status, msg) <- mmsgs + $with status2 <- bool status "info" (status == "") +
+
+ #{msg} - ^{widget} + + + ^{widget} diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index 7d9c6d760..c040d4694 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -131,17 +131,19 @@ h4 { /* LAYOUT */ .main { - display: flex; min-height: calc(100vh - var(--header-height)); - overflow: hidden; +} + +@media (max-width: 768px) { + + .main { + min-height: calc(100vh - var(--header-height-collapsed)); + } } .main__content { position: relative; background-color: white; - padding: 0 40px; - padding-bottom: 60px; - flex: 1; z-index: 0; overflow: hidden; @@ -154,6 +156,17 @@ h4 { } } +.main__content-body { + padding: 10px 40px 60px; +} + +@media (max-width: 768px) { + + .main__content-body { + padding: 10px 20px 60px; + } +} + .pseudo-focus { outline: 5px auto var(--color-light); outline: 5px auto -webkit-focus-ring-color; diff --git a/templates/standalone/inputs.julius b/templates/standalone/inputs.julius index ce38268ad..eb8c52760 100644 --- a/templates/standalone/inputs.julius +++ b/templates/standalone/inputs.julius @@ -3,27 +3,6 @@ window.utils = window.utils || {}; - // makes