fix load icon alignment in stop list

This commit is contained in:
Daniel Friesel 2022-11-12 20:19:36 +01:00
parent 13fdbdc798
commit 1671666d06
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005
2 changed files with 6 additions and 5 deletions

View file

@ -40,12 +40,13 @@ a.tablerow {
padding-top: 1em; padding-top: 1em;
padding-bottom: 1em; padding-bottom: 1em;
border-bottom: 1px solid rgba(0,0,0,0.12); border-bottom: 1px solid rgba(0,0,0,0.12);
.material-icons {
vertical-align: bottom;
margin-bottom: 0.2em;
}
span { span {
display: inline-block; display: inline-block;
} }
.material-icons {
margin-bottom: 0.2em;
}
} }
.pagination { .pagination {

View file

@ -222,7 +222,7 @@
<span> <span>
% if ($station->[1]{load}{SECOND}) { % if ($station->[1]{load}{SECOND}) {
% my ($first, $second) = load_icon($station->[1]{load}); % my ($first, $second) = load_icon($station->[1]{load});
<i class="material-icons tiny" aria-hidden="true" style="padding-right: 0.5em; vertical-align: bottom;"><%= $first %></i> <i class="material-icons tiny" aria-hidden="true" style="vertical-align: bottom;"><%= $second %></i> <i class="material-icons tiny" aria-hidden="true"><%= $first %></i> <i class="material-icons tiny" aria-hidden="true"><%= $second %></i>
% } % }
% if ($station->[2] and $station->[2] eq 'cancelled') { % if ($station->[2] and $station->[2] eq 'cancelled') {
entfällt entfällt
@ -337,7 +337,7 @@
<span> <span>
% if ($station->[1]{load}{SECOND}) { % if ($station->[1]{load}{SECOND}) {
% my ($first, $second) = load_icon($station->[1]{load}); % my ($first, $second) = load_icon($station->[1]{load});
<i class="material-icons tiny" aria-hidden="true" style="padding-right: 0.5em; vertical-align: bottom;"><%= $first %></i> <i class="material-icons tiny" aria-hidden="true" style="vertical-align: bottom;"><%= $second %></i> <i class="material-icons tiny" aria-hidden="true"><%= $first %></i> <i class="material-icons tiny" aria-hidden="true"><%= $second %></i>
% } % }
% if ($station->[2] and $station->[2] eq 'cancelled') { % if ($station->[2] and $station->[2] eq 'cancelled') {
entfällt entfällt