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-44.5.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.4.2 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.4.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.4.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.3.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.2.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.1.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-44.0.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.5.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.4.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.4.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.3.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.2.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.1.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.1.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.0.2 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.0.1 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-43.0.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-42.1.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
govuk_publishing_components-42.0.0 app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss