summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-30 14:36:24 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-30 14:36:24 +0200
commitd87fdbff456c4017dfc87cbbb4a85b7976402f49 (patch)
tree85cb5e9ecaaa2cc5d513a227fbc0e9da22de8f00
parent20ad04a41f6fe4561a40e4d6e42aec1c62e2f91a (diff)
increase clickable area of timeline link
-rw-r--r--sass/src/common/local.scss5
-rw-r--r--templates/_timeline_link.html.ep2
2 files changed, 6 insertions, 1 deletions
diff --git a/sass/src/common/local.scss b/sass/src/common/local.scss
index c3fe29c..6f0c0f8 100644
--- a/sass/src/common/local.scss
+++ b/sass/src/common/local.scss
@@ -295,3 +295,8 @@ ul.route-history > li {
}
}
}
+
+a.timeline-link {
+ padding-top: 1ex;
+ padding-bottom: 1ex;
+}
diff --git a/templates/_timeline_link.html.ep b/templates/_timeline_link.html.ep
index 1a78279..4b9c2a5 100644
--- a/templates/_timeline_link.html.ep
+++ b/templates/_timeline_link.html.ep
@@ -1,5 +1,5 @@
<div>
- <a href="/timeline/in-transit">
+ <a class="timeline-link" href="/timeline/in-transit">
% if (@{$timeline} <= 2) {
<strong><%= $timeline->[0]->{followee_name} %></strong>
% }