Sha256: a97eef8d96a45a726b026ea0739754c2b6b2dbfaeb0fc9995e82c749de11aac3

Contents?: true

Size: 697 Bytes

Versions: 13

Compression:

Stored size: 697 Bytes

Contents

@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, $class: false)
    }
  }

  // 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, $class: false)
    }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
govuk_publishing_components-16.3.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-16.2.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-16.1.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-16.0.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-15.3.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-15.2.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-15.1.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-15.0.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-14.0.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-13.8.1 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-13.8.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-13.7.0 node_modules/govuk-frontend/objects/_grid.scss
govuk_publishing_components-13.6.1 node_modules/govuk-frontend/objects/_grid.scss