diff options
author | 2018-06-02 18:58:00 +0100 | |
---|---|---|
committer | 2018-06-02 18:58:00 +0100 | |
commit | 3ef6ffb70685dd38ab95fd0ec41f2adceb11ca8b (patch) | |
tree | ad902e5c83c0b9f8e87a97aecf10019c0e6c0b28 | |
parent | [Jams] Send signup messages to jam log channel (diff) |
[Wiki] Fix a CSS dumb
-rw-r--r-- | static/style.css | 4 | ||||
-rw-r--r-- | templates/wiki/base.html | 2 | ||||
-rw-r--r-- | templates/wiki/page_view.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/static/style.css b/static/style.css index 22eb2285..6f804d23 100644 --- a/static/style.css +++ b/static/style.css @@ -248,12 +248,12 @@ textarea.fira-code { border: 1px solid rgba(0, 0, 0, 0.11); } -#doc-view div { +#doc-view { width: calc(100% - 6rem); } @media (max-width: 639px) { - #doc-view div { + #doc-view { width: calc(100% - 1rem); } } diff --git a/templates/wiki/base.html b/templates/wiki/base.html index ee4e7d10..b34af7ad 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -191,7 +191,7 @@ <a class="uk-flex-left uk-flex uk-flex-column uk-background-primary uk-hidden@s uk-hidden@m uk-hidden@l uk-hidden@xl" id="wiki-sidebar-button"> <div class="uk-flex-center"><i class="uk-icon fa-fw far fa-bars"></i></div> </a> - <div class="uk-section uk-flex uk-flex-column" id="doc-view" style="flex-grow: 1; margin: 0 1rem 1rem; width: calc(100% - 6rem)"> + <div class="uk-section uk-flex uk-flex-column" style="flex-grow: 1; margin: 0 1rem 1rem; width: calc(100% - 6rem)"> {% block content %}{% endblock %} </div> </div> diff --git a/templates/wiki/page_view.html b/templates/wiki/page_view.html index 9c49a09e..5ce22784 100644 --- a/templates/wiki/page_view.html +++ b/templates/wiki/page_view.html @@ -3,7 +3,7 @@ {% block og_title %}Wiki | {{ data["title"] }}{% endblock %} {% block og_description %}{% endblock %} {% block content %} - <div class="uk-container uk-container-small"> + <div class="uk-container uk-container-small" id="doc-view"> <h2 class="uk-title"> {{ data["title"] }} </h2> |