aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2018-05-18 16:00:04 +0100
committerZarino Zappia <mail@zarino.co.uk>2018-05-21 11:19:14 +0100
commit1c8249e4b9a7199cad448de3eeb8e1c6b0fb7f1f (patch)
tree5eae5fd68806352e9065e8f141b78c619b4a9b06
parentf6e756b94897c6a7a94beab296b5788da3208a8b (diff)
Avoid empty space either side of "key tools" drawer when open
Fixes #2124.
-rw-r--r--CHANGELOG.md1
-rw-r--r--web/cobrands/sass/_layout.scss1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b54031a4..4813d7597 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -42,6 +42,7 @@
- Make OpenGraph description translatable.
- Stop double-escaping title in alert-update email.
- Use inspection states in response template admin.
+ - Fixed CSS padding/overflow bug during sidebar "drawer" animations. #2132
- Admin improvements:
- Inspectors can set non_public status of reports. #1992
- Default start date is shown on the dashboard.
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 13c2dff72..b374d8d3e 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -699,6 +699,7 @@ body.authpage {
&.static {
padding: 0 0 1em;
+ margin: 0 -1em; // overlap parent side padding
position: static;
width: auto; // avoid horizontal scrollbar as drawer opens (on devices with permanent scroll bars)
}