Fixes #3383 ('Variables' sections on docs page) (#3513)

* Enable custom names for 'Variables' sections

* add gap between consecutive 'Variables' sections
This commit is contained in:
avt613 2022-04-26 14:40:29 +01:00 committed by GitHub
parent e674d87bf3
commit 8f13d7c7a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@
{% if variables_size != '0' or variables_keys_size != '0' %} {% if variables_size != '0' or variables_keys_size != '0' %}
<div class="bd-vars"> <div class="bd-vars">
{% include elements/anchor.html name="Variables" %} {% include elements/anchor.html name=anchor_name %}
<div class="bd-var bd-is-head"> <div class="bd-var bd-is-head">
<div class="bd-var-name"> <div class="bd-var-name">

View File

@ -16,6 +16,10 @@
} }
} }
.bd-vars + .bd-vars {
margin-top: var(--docs-inner);
}
.bd-var { .bd-var {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;