ui: fix alignment secondary

This commit is contained in:
DerLinkman 2024-01-10 14:43:59 +01:00
parent b5a1a18b04
commit cf9f02adbb
No known key found for this signature in database
GPG Key ID: F109FD97469550A2
2 changed files with 4 additions and 2 deletions

View File

@ -228,8 +228,8 @@ legend {
margin-top: 20px; margin-top: 20px;
} }
.slave-info { .slave-info {
padding: 15px 0px 15px 15px;
font-weight: bold; font-weight: bold;
color: orange;
} }
.alert-hr { .alert-hr {
margin:3px 0px; margin:3px 0px;

View File

@ -114,7 +114,9 @@
<li class="logged-in-as nav-item"><a href="#" onclick="logout.submit()" class="nav-link"><b class="username-lia">{{ mailcow_cc_username }} <span class="text-info">({{ dual_login.username }})</span> </b><i class="bi bi-power ms-2"></i></a></li> <li class="logged-in-as nav-item"><a href="#" onclick="logout.submit()" class="nav-link"><b class="username-lia">{{ mailcow_cc_username }} <span class="text-info">({{ dual_login.username }})</span> </b><i class="bi bi-power ms-2"></i></a></li>
{% endif %} {% endif %}
{% if not is_master %} {% if not is_master %}
<li class="text-warning slave-info nav-item">[ slave ]</li> <div class="nav-link form-check form-switch my-auto d-flex align-items-center">
<li class="slave-info">[ slave ]</li>
</div>
{% endif %} {% endif %}
</ul> </ul>
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->