fix order hardware button text centering
This commit is contained in:
parent
61b291b9e0
commit
751aaf1606
@ -83,7 +83,9 @@
|
|||||||
<div class="dropdown-menu shadow-none shadow-lg text-left text-lg-left" aria-labelledby="navbarDropdown">
|
<div class="dropdown-menu shadow-none shadow-lg text-left text-lg-left" aria-labelledby="navbarDropdown">
|
||||||
{% for tmp_page in subsection.pages %}
|
{% for tmp_page in subsection.pages %}
|
||||||
{% if tmp_page.extra.menu_item and tmp_page.extra.menu_item == "th1" %}
|
{% if tmp_page.extra.menu_item and tmp_page.extra.menu_item == "th1" %}
|
||||||
<a class="dropdown-item pt-2 pb-2 mx-4 mt-2 mb-2 mt-sm-3 mb-sm-3 w-auto btn btn-primary btn-inversed {% if current_path == tmp_page.path %}active{% endif %}" href="{{ tmp_page.permalink }}">{{ tmp_page.title }}</a>
|
<a class="dropdown-item pt-2 pb-2 mx-4 mt-2 mb-2 mt-sm-3 mb-sm-3 w-auto btn btn-primary btn-inversed {% if current_path == tmp_page.path %}active{% endif %}" href="{{ tmp_page.permalink }}">
|
||||||
|
<center>{{ tmp_page.title }}</center>
|
||||||
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="dropdown-item pt-2 pb-2 {% if current_path == tmp_page.path %}active{% endif %}" href="{{ tmp_page.permalink }}">{{ tmp_page.title }}</a>
|
<a class="dropdown-item pt-2 pb-2 {% if current_path == tmp_page.path %}active{% endif %}" href="{{ tmp_page.permalink }}">{{ tmp_page.title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user