diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 12:34:25 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 12:34:25 +0000 |
commit | dc442c07bae20d492423b4c7410ca0c0ab58d30c (patch) | |
tree | 51171234fe9d11bb57dce2e72e129f8e5cbb8139 | |
parent | 53e22391a3975b2c2a9ebca8b75fab6127c767b7 (diff) |
Fix pin size when JavaScript unavailable.
1b15964a doubled the pin icon images.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 14 |
2 files changed, 7 insertions, 8 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c3d229bd6..d4ad9a5c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - Report status filter All option works for body users #1845 - Always allow reports to be removed from shortlist #1882 - Remove shortlist form from inspect duplicate list. + - Fix pin size when JavaScript unavailable. - Admin improvements: - Character length limit can be placed on report detailed information #1848 - Inspector panel shows nearest address if available #1850 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 |