diff options
author | Volpeon <git@volpeon.ink> | 2021-11-14 16:51:52 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-14 16:51:52 +0100 |
commit | c2a17ecf50c28874270fa3ed3c4359c7e11028a9 (patch) | |
tree | d518b8497ae219f08717d601bf811946ea9d1408 | |
parent | Fix small viewports (diff) | |
download | volpeon.ink-c2a17ecf50c28874270fa3ed3c4359c7e11028a9.tar.gz volpeon.ink-c2a17ecf50c28874270fa3ed3c4359c7e11028a9.tar.bz2 volpeon.ink-c2a17ecf50c28874270fa3ed3c4359c7e11028a9.zip |
Fix again
-rw-r--r-- | assets/css/_basics.scss | 3 | ||||
-rw-r--r-- | templates/base.html | 14 |
2 files changed, 8 insertions, 9 deletions
diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index c332ff7..5ba6853 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss | |||
@@ -37,9 +37,6 @@ body { | |||
37 | } | 37 | } |
38 | 38 | ||
39 | main { | 39 | main { |
40 | box-sizing: border-box; | ||
41 | width: 100%; | ||
42 | |||
43 | @include iro-responsive-env(('sm', 'md')) { | 40 | @include iro-responsive-env(('sm', 'md')) { |
44 | font-size: iro-responsive-set((1rem, 1 / 16 * 18rem)); | 41 | font-size: iro-responsive-set((1rem, 1 / 16 * 18rem)); |
45 | } | 42 | } |
diff --git a/templates/base.html b/templates/base.html index 0cfec50..9c6b3fa 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -65,16 +65,18 @@ | |||
65 | $endif$ | 65 | $endif$ |
66 | </nav> | 66 | </nav> |
67 | 67 | ||
68 | <main class="l-container l-container--pad-x l-container--pad-y l-container--content"> | 68 | <main> |
69 | $if(layout.is_categorized_list)$ | 69 | <div class="l-container l-container--pad-x l-container--pad-y l-container--content"> |
70 | $if(layout.is_categorized_list)$ | ||
70 | ${layouts/categorized_list()} | 71 | ${layouts/categorized_list()} |
71 | $elseif(layout.is_list)$ | 72 | $elseif(layout.is_list)$ |
72 | ${layouts/list()} | 73 | ${layouts/list()} |
73 | $elseif(layout.is_redirect)$ | 74 | $elseif(layout.is_redirect)$ |
74 | ${layouts/redirect()} | 75 | ${layouts/redirect()} |
75 | $else$ | 76 | $else$ |
76 | ${layouts/page()} | 77 | ${layouts/page()} |
77 | $endif$ | 78 | $endif$ |
79 | </div> | ||
78 | </main> | 80 | </main> |
79 | 81 | ||
80 | <footer class="c-footer"> | 82 | <footer class="c-footer"> |