[Perl] DAQ system for the FAPG.
fix remove page title from mobile navbar
The title appeared awkwardly inside the expanded mobile menu. Keep it only on md+ where it sits cleanly between brand and nav links.
roles/dashboard/templates/layouts/default.html.ep
@@ -25,8 +25,7 @@
25
25
26
26
% my $page_title = stash('page_title') // '';
27
27
% if ($page_title) {
28
Removed:
<span id="navbar-title" class="navbar-text fw-semibold text-body position-absolute start-50 translate-middle-x d-none d-sm-inline" aria-hidden="true"><%= $page_title %></span>
29
Removed:
<span id="navbar-title-mobile" class="navbar-text fw-semibold text-body mx-auto d-sm-none" aria-hidden="true"><%= $page_title %></span>
28
Added:
<span id="navbar-title" class="navbar-text fw-semibold text-body position-absolute start-50 translate-middle-x d-none d-md-inline" aria-hidden="true"><%= $page_title %></span>
30
29
% }
31
30
32
31
<div class="d-flex align-items-center gap-2 ms-auto order-md-last">