aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-01-22 14:18:08 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-01-22 14:18:10 +0000
commitc157e55a6b03377d1d4507d35e08cb9e0cfedf86 (patch)
tree8e17dada7f7c64a6d1688a30aba3d0f6ff3ab3c1
parente25e1a929c0eff5a3a50da5185c9dbe13ad53028 (diff)
Bugfix display of next-steps.
Missing a "&" in base selector, so wasn’t being applied, and use flex directly on layout rather than floating.
-rw-r--r--web/cobrands/fixmystreet.com/base.scss2
-rw-r--r--web/cobrands/fixmystreet.com/layout.scss8
2 files changed, 2 insertions, 8 deletions
diff --git a/web/cobrands/fixmystreet.com/base.scss b/web/cobrands/fixmystreet.com/base.scss
index 2e8e6febc..65af1272a 100644
--- a/web/cobrands/fixmystreet.com/base.scss
+++ b/web/cobrands/fixmystreet.com/base.scss
@@ -85,7 +85,7 @@ svg|g.site-logo__svg {
}
}
- .next-steps__step--goodies {
+ .next-steps__step--goodies & {
min-height: 37px; // stop absolutely positioned img overlapping bottom of parent element
img {
diff --git a/web/cobrands/fixmystreet.com/layout.scss b/web/cobrands/fixmystreet.com/layout.scss
index c2bbd2d14..18b67b53b 100644
--- a/web/cobrands/fixmystreet.com/layout.scss
+++ b/web/cobrands/fixmystreet.com/layout.scss
@@ -203,15 +203,13 @@ body.frontpage {
}
.next-steps {
- @include clearfix;
@include flex-container();
margin-bottom: 2em; // add some space between this and the footer
}
.next-steps__step {
font-family: $body-font;
- float: $left;
- width: 33%;
+ flex: 1;
padding: 1.8em;
& + .next-steps__step {
@@ -230,10 +228,6 @@ body.frontpage {
}
}
-.next-steps--two .next-steps__step {
- width: 50%;
-}
-
body.unresponsive-council {
.container .content {
padding: 0;