fix: twig

* couple display fixes
This commit is contained in:
Ryan Prather 2025-01-21 14:46:03 -05:00
parent 67d83a1f98
commit b990ea55cb
3 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@
{% block page_css %}{% endblock %}
</head>
<body class="bg-gray-200"> {% block body %}{% endblock %}
<body class="g-sidenav-show bg-gray-200"> {% block body %}{% endblock %}
{% block javascripts %}
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<script>

View File

@ -6,7 +6,7 @@
{% block body %}
{{ block('nav', 'internal/libs/nav.html.twig') }}
<main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg ">
<main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg">
{{ block('topnav', 'internal/libs/top-nav.html.twig') }}
<div class='container-fluid py-2'>
@ -50,9 +50,9 @@
<div>
<p class='text-sm mb-0 text-capitalize'>Time Travelled</p>
<h4 class='mb-0'>
{{ totalTimeTravelled30Days|date("%d:%H:%i'%s''") }}
{{ totalTimeTravelled30Days|date("%a %H:%I'%S''") }}
/
{{ totalTimeTravelledYTD|date("%d:%H:%i'%s''") }}
{{ totalTimeTravelledYTD|date("%a %H:%I'%S''") }}
</h4>
</div>
<div class="icon icon-md icon-shape bg-gradient-dark shadow-dark shadow text-center border-radius-lg">

View File

@ -1,5 +1,5 @@
{% block topnav %}
<nav class="navbar navbar-main navbar-expand-lg px-0 mx-3 border-radius-xl blur shadow-blur left-auto position-sticky mt-4 top-1 z-index-sticky" id="navbarBlur" data-scroll="true">
<nav class="navbar navbar-main navbar-expand-lg px-0 mx-3 shadow-none border-radius-xl" id="navbarBlur" data-scroll="true">
<div class="container-fluid py-1 px-3">
{{ block('breadcrumb', 'internal/libs/breadcrumb.html.twig') }}
<div class="collapse navbar-collapse mt-sm-0 mt-2 me-md-0 me-sm-4" id="navbar">