
The highlight-link was pushing the header height to be on two lines. It is now absolutely positioned below the searchbar instead of to its right. The switchers now push themselves to the right instead of being pushed by the searchbar-wrapper.
28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
HTML
<div class="o_versions row gx-2 me-3">
|
|
<div class="col align-self-center">
|
|
<label class="fw_bold small ms-2">Version</label>
|
|
</div>
|
|
<div class="col">
|
|
<div class="dropdown">
|
|
{%- if alternate_versions|length > 0 %}
|
|
<button class="btn border dropdown-toggle"
|
|
id="versions"
|
|
data-bs-toggle="dropdown">
|
|
{{ version }} {# The current version #}
|
|
</button>
|
|
{%- else %}
|
|
<button class="btn border"
|
|
id="versions"
|
|
disabled="">
|
|
{{ version }} {# The current version #}
|
|
</button>
|
|
{%- endif %}
|
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="versions">
|
|
{%- for alternate_version, url in alternate_versions %}
|
|
<li><a class="dropdown-item" href="{{ url }}">{{ alternate_version }}</a></li>
|
|
{%- endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|