summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sass/src/common/index.scss7
-rw-r--r--templates/_checked_in.html.ep4
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 @@
<span>
% if ($station->[1]{load}{SECOND}) {
% 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') {
entfällt
@@ -337,7 +337,7 @@
<span>
% if ($station->[1]{load}{SECOND}) {
% 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') {
entfällt