Sha256: e95ec1746a9f5d16f9cf15a5dbaba84bac29c87cd2a04c126c223ed592c7d816

Contents?: true

Size: 421 Bytes

Versions: 223

Compression:

Stored size: 421 Bytes

Contents

@mixin responsive-bottom-margin {
  margin-bottom: govuk-spacing(3);

  @include govuk-media-query($from: tablet) {
    margin-bottom: govuk-spacing(7);
  }
}

@mixin responsive-top-margin {
  margin-top: govuk-spacing(3);

  @include govuk-media-query($from: tablet) {
    margin-top: govuk-spacing(7);
  }
}

@mixin responsive-vertical-margins {
  @include responsive-bottom-margin;
  @include responsive-top-margin;
}

Version data entries

223 entries across 223 versions & 1 rubygems

Version Path
govuk_publishing_components-45.9.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.8.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.7.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.6.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.6.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.5.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.4.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.4.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.3.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.2.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.1.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-45.0.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.11.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.10.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.9.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.9.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.8.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.7.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.7.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.6.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss