aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2019-09-10 15:02:31 +0100
committerZarino Zappia <mail@zarino.co.uk>2019-09-10 15:10:09 +0100
commitdb01626ddbf71f429c78e212f44a0c28a526e066 (patch)
tree74b2e5d125746444275a3268bef22ecfa7c9741c /web
parent7e1934d4f5aa61a467780193dcf966fecd50ea5d (diff)
Make /alert page RSS links clickable
Fixes a bug that appears to have been introduced in edf8456, where the RSS icons on the /alert page were being stacked behind the relatively positioned form labels, making them unclickable. While I was there, I also standardised the markup for all three RSS images to use the translatable alt text and double quotes for the HTML attributes. Fixes #2624.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_base.scss16
1 files changed, 11 insertions, 5 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index 32a85fa04..2d67b3986 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -2377,11 +2377,17 @@ a#geolocate_link.loading, .btn--geolocate.loading {
.a {
background: #f6f6f6;
}
- img[width="16"] {
- margin-top: 4px;
- margin-#{$left}: 0.5em;
- float: $right;
- }
+}
+
+.alerts-rss-link {
+ position: relative;
+ z-index: 1; // stack in front of the position:relative .label-containing-checkbox
+
+ img {
+ margin-top: 4px;
+ margin-#{$left}: 0.5em;
+ float: $right;
+ }
}
.alerts__nearby-activity {