[Perl] DAQ system for the FAPG.
fix use inline SVG for hamburger icon
The navbar-toggler-icon class requires a .navbar parent context to render. Use Bootstrap Icons' list SVG inline instead so it displays correctly in the card header.
roles/dashboard/templates/dashboard/probe-card.html.ep
@@ -18,7 +18,9 @@
18
18
data-bs-toggle="dropdown"
19
19
aria-expanded="false"
20
20
aria-label="Actions for <%= $probe->{label} %>">
21
Removed:
<span class="navbar-toggler-icon" style="width: 1em; height: 1em;"></span>
21
Added:
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
22
Added:
<path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"/>
23
Added:
</svg>
22
24
</button>
23
25
<ul class="dropdown-menu dropdown-menu-end">
24
26
<li>