[IMP] change ".doc-toc" to ".o_fullwidth_page"
This commit is contained in:
parent
f1d304831c
commit
c5a28e2351
@ -84,9 +84,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if 'has_only_toc' in meta or 'hide_page_toc' in meta %}
|
{% if 'has_only_toc' in meta or 'hide_page_toc' in meta %}
|
||||||
{# The page only contains a toctree or the page toc is hidden #}
|
{% set main_classes = main_classes + ['o_fullwidth_page'] %}
|
||||||
{# 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 #}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<main class="container-fluid {{ ' '.join(main_classes) }}">
|
<main class="container-fluid {{ ' '.join(main_classes) }}">
|
||||||
|
@ -380,7 +380,7 @@ header.o_main_header{
|
|||||||
|
|
||||||
// "in between" pages (Applications / Contributing)
|
// "in between" pages (Applications / Contributing)
|
||||||
|
|
||||||
&.doc-toc {
|
&.o_fullwidth_page {
|
||||||
.toctree-wrapper {
|
.toctree-wrapper {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
> ul {
|
> ul {
|
||||||
|
Loading…
Reference in New Issue
Block a user