Sha256: 92c4f23a2a1f37d586fceec290dccd7d6216402a5621be762d7cec4e535b1f45

Contents?: true

Size: 745 Bytes

Versions: 143

Compression:

Stored size: 745 Bytes

Contents

@import "../settings/all";
@import "../tools/all";
@import "../helpers/all";

@include govuk-exports("govuk/objects/grid") {

  .govuk-grid-row {
    @include govuk-clearfix;
    margin-right: - ($govuk-gutter-half);
    margin-left: - ($govuk-gutter-half);
  }

  @each $width in map-keys($govuk-grid-widths) {
    .govuk-grid-column-#{$width} {
      @include govuk-grid-column($width)
    }
  }

  // These *must* be defined in a separate loop as they have the same
  // specificity as the non-breakpoint specific classes, so need to appear after
  // them in the outputted CSS
  @each $width in map-keys($govuk-grid-widths) {
    .govuk-grid-column-#{$width}-from-desktop {
      @include govuk-grid-column($width, $at: desktop)
    }
  }
}

Version data entries

143 entries across 143 versions & 3 rubygems

Version Path
govuk_publishing_components-21.35.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.34.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.34.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.33.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.32.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.31.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.30.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.29.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.29.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.28.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.28.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.27.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.27.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.26.2 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.26.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.26.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.25.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.24.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.23.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-21.23.0 node_modules/govuk-frontend/govuk/objects/_grid.scss