Sha256: db38eac8fc8cc7237923423501aefbc82af8cc41f98f39eb720288ccde7319b2

Contents?: true

Size: 806 Bytes

Versions: 7

Compression:

Stored size: 806 Bytes

Contents

@import "govuk-frontend/components/tabs/tabs";

.js-enabled {
  .gem-c-tabs__panel--no-border {
    padding-right: 0;
    padding-left: 0;
    border: 0;
  }
}

// We have some styles within GOVUK (.content-block) which can leak into the list styles for this component.
// These styles are defined in Static: https://github.com/alphagov/static/blob/a815620cada7ea1c65428c1c3b3ac4dbe28977bf/app/assets/stylesheets/helpers/_text.scss
// This sets more specific selectors so those unwanted styles are overidden
// scss-lint:disable QualifyingElement
// sass-lint:disable no-qualifying-elements
ul.govuk-tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

li.govuk-tabs__list-item {
  margin-left: govuk-spacing(5);
}
// scss-lint:enable QualifyingElement
// sass-lint:enable no-qualifying-elements

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
govuk_publishing_components-17.18.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-17.17.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-17.16.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-17.15.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-17.14.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-17.13.0 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
govuk_publishing_components-17.12.2 app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss