aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-06 12:34:25 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-06 12:34:25 +0000
commitdc442c07bae20d492423b4c7410ca0c0ab58d30c (patch)
tree51171234fe9d11bb57dce2e72e129f8e5cbb8139 /web
parent53e22391a3975b2c2a9ebca8b75fab6127c767b7 (diff)
Fix pin size when JavaScript unavailable.
1b15964a doubled the pin icon images.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_base.scss14
1 files changed, 6 insertions, 8 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index 384566516..ffb31587f 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -1697,14 +1697,12 @@ html.js #map .noscript {
img {
cursor: move;
}
- img.pin {
- z-index: 100;
- background-color: inherit;
- }
- a img.pin {
- cursor: pointer;
- cursor: hand;
- }
+}
+
+/* For non-JS situations, as the image file is 2x pixel size */
+img.pin {
+ width: 48px;
+ height: 64px;
}
// only on mobile