From 1671666d06cab9cecdee6753ec68ceea47fdc7cd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 12 Nov 2022 20:19:36 +0100 Subject: fix load icon alignment in stop list --- sass/src/common/index.scss | 7 ++++--- templates/_checked_in.html.ep | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sass/src/common/index.scss b/sass/src/common/index.scss index 89e1b7b..b66c425 100644 --- a/sass/src/common/index.scss +++ b/sass/src/common/index.scss @@ -40,12 +40,13 @@ a.tablerow { padding-top: 1em; padding-bottom: 1em; border-bottom: 1px solid rgba(0,0,0,0.12); - span { - display: inline-block; - } .material-icons { + vertical-align: bottom; margin-bottom: 0.2em; } + span { + display: inline-block; + } } .pagination { diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index d2439ee..2b6ac90 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -222,7 +222,7 @@ % if ($station->[1]{load}{SECOND}) { % my ($first, $second) = load_icon($station->[1]{load}); - + % } % if ($station->[2] and $station->[2] eq 'cancelled') { entfällt @@ -337,7 +337,7 @@ % if ($station->[1]{load}{SECOND}) { % my ($first, $second) = load_icon($station->[1]{load}); - + % } % if ($station->[2] and $station->[2] eq 'cancelled') { entfällt -- cgit v1.2.3