fix(meta): fix header position somewhat
cargo devel CI / cargo CI (push) Successful in 2m5s Details

This commit is contained in:
Christoph J. Scherr 2024-09-11 22:58:04 +02:00
parent 8cad7c4e83
commit 257ba9820b
3 changed files with 17 additions and 11 deletions

View File

@ -1,9 +1,7 @@
{% extends "base" %} {% extends "base" %}
{% block title %}{{ title }}{% endblock %} {% block title %}{{ title }}{% endblock %}
{% block header_ext %} {% block header_ext %}
<div class="col-12 col-mx-auto col-me-0 text-center justify-content-center"> <span class="badge text-bg-danger rounded-pill">Admin</span>
<span class="badge text-bg-danger rounded-pill">Admin</span>
</div>
{% endblock %} {% endblock %}
{% block main %} {% block main %}
<h1 class="text-body-emphasis">{{title}}</h1> <h1 class="text-body-emphasis">{{title}}</h1>

View File

@ -115,14 +115,18 @@
<div class="row mb-0 border-collapse"> <div class="row mb-0 border-collapse">
<!-- side panel --> <!-- side panel -->
<div class="col-sm-2 border-end border-collapse pt-2" style="min-width: 26vw;"> <div class="col-sm-2 border-end border-collapse pt-2" style="min-width: 26vw;">
<div class="row">
<div class="col">
<a href="/" <a href="/"
class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-decoration-none text-body-emphasis"> class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-decoration-none text-body-emphasis">
<svg class="bi pe-none me-2" width="40" height="32"> <svg class="bi pe-none me-2" width="40" height="32">
<use xlink:href="#vault"></use> <use xlink:href="#vault"></use>
</svg> </svg>
<span class="fs-4">{{app_name}}</span> <span class="fs-4">{{app_name}}</span>
{% block header_ext %}{% endblock %}
</a> </a>
{% block header_ext %}{% endblock %}
</div>
</div>
<hr> <hr>
<ul class="nav nav-pills flex-column mb-auto"> <ul class="nav nav-pills flex-column mb-auto">
<li class="nav-item"> <li class="nav-item">

View File

@ -2,6 +2,10 @@ body {
border-collapse: collapse; border-collapse: collapse;
} }
.nobr {
white-space: nowrap
}
.border-collapse { .border-collapse {
border-collapse: collapse; border-collapse: collapse;
} }