Sha256: 6b1a5e8f26c7cba95fc10482f5ce11556f70b530d473b71ea435fd92efbdbb59

Contents?: true

Size: 1.09 KB

Versions: 151

Compression:

Stored size: 1.09 KB

Contents

@if not mixin-exists("govuk-exports") {
  @warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
}

@import "../base";

// stylelint-disable declaration-no-important
@include govuk-exports("govuk/overrides/width") {
  .govuk-\!-width-full {
    width: 100% !important;
  }

  .govuk-\!-width-three-quarters {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 75% !important;
    }
  }

  .govuk-\!-width-two-thirds {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 66.66% !important;
    }
  }

  .govuk-\!-width-one-half {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 50% !important;
    }
  }

  .govuk-\!-width-one-third {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 33.33% !important;
    }
  }

  .govuk-\!-width-one-quarter {
    width: 100% !important;

    @include govuk-media-query($from: tablet) {
      width: 25% !important;
    }
  }
}

Version data entries

151 entries across 148 versions & 4 rubygems

Version Path
govuk_publishing_components-27.5.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_tech_docs-3.0.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-27.4.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-27.3.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-27.3.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-27.2.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-27.1.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_tech_docs-2.4.3 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-27.0.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-26.0.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.7.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.6.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.5.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.4.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.3.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.3.0 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.2.3 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.2.2 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.2.1 node_modules/govuk-frontend/govuk/overrides/_width.scss
govuk_publishing_components-25.2.0 node_modules/govuk-frontend/govuk/overrides/_width.scss