generated from PlexSheep/rs-base
fix(meta): fix header position somewhat
cargo devel CI / cargo CI (push) Successful in 2m5s
Details
cargo devel CI / cargo CI (push) Successful in 2m5s
Details
This commit is contained in:
parent
8cad7c4e83
commit
257ba9820b
|
@ -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>
|
||||
<span class="badge text-bg-danger rounded-pill">Admin</span>
|
||||
{% endblock %}
|
||||
{% block main %}
|
||||
<h1 class="text-body-emphasis">{{title}}</h1>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -2,6 +2,10 @@ body {
|
|||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.nobr {
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.border-collapse {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue