diff --git a/scss/control_panel.scss b/scss/control_panel.scss index be159d7..3091378 100644 --- a/scss/control_panel.scss +++ b/scss/control_panel.scss @@ -103,10 +103,6 @@ } } -.page-box { - width: 45%; -} - @container (width < 60ch) { .profile { grid-template-areas: 'pfp' 'name' 'info'; @@ -124,8 +120,4 @@ grid-template-columns: auto; grid-template-rows: repeat(auto, 5); } - - .page-box { - width: 100%; - } } diff --git a/templates/control_panel/page_manager.html.tera b/templates/control_panel/page_manager.html.tera index 95c4eda..6fe3908 100644 --- a/templates/control_panel/page_manager.html.tera +++ b/templates/control_panel/page_manager.html.tera @@ -22,23 +22,21 @@
{{ page.path }}
- + {% if pages | length > 0 %} + {% for page in pages %} +{{ page.path }}
+ - {% endfor %} - {% else %} -Det finns inga skapade sidor!
- {% endif %}Det finns inga skapade sidor!
+ {% endif %}