Sha256: 69116afd4972907a62d6d0ea41b3b57cb4a3109f80704e3bee6279364b54a89c

Contents?: true

Size: 688 Bytes

Versions: 300

Compression:

Stored size: 688 Bytes

Contents

@import "../base";

@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

300 entries across 297 versions & 5 rubygems

Version Path
govuk_publishing_components-34.8.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.7.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.7.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.6.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.5.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.5.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.4.2 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.4.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.4.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.3.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.2.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.1.3 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.1.2 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_tech_docs-3.3.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.1.1 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.1.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-34.0.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-33.1.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-33.0.0 node_modules/govuk-frontend/govuk/objects/_grid.scss
govuk_publishing_components-32.1.0 node_modules/govuk-frontend/govuk/objects/_grid.scss