aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2017-12-19 16:20:54 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-12-19 17:15:23 +0000
commit04bab134af19c481d9c10f8cec547ed4d1b983f4 (patch)
tree12c937b292590d924a1348aa4c855fd7ffe81784
parent152c6b62e4cfc6e2e02da0d7bca7603909366d69 (diff)
Force dashboard filters onto a single line
Fixes part of mysociety/fixmystreet-commercial#965.
-rw-r--r--CHANGELOG.md2
-rw-r--r--web/cobrands/sass/_dashboard.scss5
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 691dcb5ed..e919ec113 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,8 @@
## Releases
* Unreleased
+ - Bugfixes:
+ - Make sure dashboard filters all fit onto one line.
* v2.3 (18th December 2017)
- New features:
diff --git a/web/cobrands/sass/_dashboard.scss b/web/cobrands/sass/_dashboard.scss
index 1d3066e7c..9f2f36720 100644
--- a/web/cobrands/sass/_dashboard.scss
+++ b/web/cobrands/sass/_dashboard.scss
@@ -220,6 +220,11 @@
border-top: $primary solid 0.75em;
padding: 0 1em;
+ // Force field elements onto a single line.
+ @media (min-width: 48em) {
+ @include flex-container();
+ }
+
// No border-top when visually preceded by .dashboard-header
.dashboard-header + * & {
border-top: none;