[IMP] change ".doc-toc" to ".o_fullwidth_page"

This commit is contained in:
Elisabeth Dickinson 2021-03-24 09:34:28 +01:00
parent f1d304831c
commit c5a28e2351
2 changed files with 2 additions and 4 deletions

View File

@ -84,9 +84,7 @@
{% endif %}
{% if 'has_only_toc' in meta or 'hide_page_toc' in meta %}
{# The page only contains a toctree or the page toc is hidden #}
{# TODO EDI rename doc-toc class to sthg more meaningful explaining the result (body taking full page) #}
{% set main_classes = main_classes + ['doc-toc'] %} {# Increase body width, taking the place of the page toc #}
{% set main_classes = main_classes + ['o_fullwidth_page'] %}
{% endif %}
<main class="container-fluid {{ ' '.join(main_classes) }}">

View File

@ -380,7 +380,7 @@ header.o_main_header{
// "in between" pages (Applications / Contributing)
&.doc-toc {
&.o_fullwidth_page {
.toctree-wrapper {
margin-top: 1.5rem;
> ul {