Skip to content

Commit

Permalink
Merge pull request #276 from alphagov/fix-colour-swatches-ie8
Browse files Browse the repository at this point in the history
Fix colour swatch styles for IE8
  • Loading branch information
NickColley authored May 21, 2018
2 parents 019d106 + a841402 commit fc44e9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ $mq-breakpoint-widescreen: 1200px;

$colour-list-breakpoint: 980px;

// for IE8 we need to set that to 'desktop' so media queries get rasterised
// $mq-static-breakpoint is set in Frontend
@if $govuk-is-ie8 == true {
$colour-list-breakpoint: $mq-static-breakpoint;
}


.app-colour-list {
width: 100%;
border-collapse: collapse;
Expand Down

0 comments on commit fc44e9e

Please sign in to comment.