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" %}
{% block title %}{{ title }}{% endblock %}
{% 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>
</div>
{% endblock %}
{% block main %}
<h1 class="text-body-emphasis">{{title}}</h1>

View File

@ -115,14 +115,18 @@
<div class="row mb-0 border-collapse">
<!-- side panel -->
<div class="col-sm-2 border-end border-collapse pt-2" style="min-width: 26vw;">
<div class="row">
<div class="col">
<a href="/"
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">
<use xlink:href="#vault"></use>
</svg>
<span class="fs-4">{{app_name}}</span>
{% block header_ext %}{% endblock %}
</a>
{% block header_ext %}{% endblock %}
</div>
</div>
<hr>
<ul class="nav nav-pills flex-column mb-auto">
<li class="nav-item">

View File

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