Sha256: 0a59d9a44583c5f01962ead8d6f1c8b2985187758cdd3c703ad9e4ac9fcd8ed0

Contents?: true

Size: 691 Bytes

Versions: 259

Compression:

Stored size: 691 Bytes

Contents

@import "../../settings/all";
@import "../../tools/all";
@import "../../helpers/all";

@import "../error-message/error-message";
@import "../hint/hint";
@import "../label/label";

@include govuk-exports("govuk/component/character-count") {
  .govuk-character-count {
    @include govuk-responsive-margin(6, "bottom");

    .govuk-form-group,
    .govuk-textarea {
      margin-bottom: govuk-spacing(1);
    }

    .govuk-textarea--error {
      padding: govuk-spacing(1) - 2; // Stop a "jump" when width of border changes
    }
  }

  .govuk-character-count__message {
    margin-top: 0;
    margin-bottom: 0;
  }

  .govuk-character-count__message--disabled {
    visibility: hidden;
  }
}

Version data entries

259 entries across 259 versions & 3 rubygems

Version Path
govuk_publishing_components-21.35.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.34.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.34.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.33.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.32.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.31.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.30.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.29.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.29.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.28.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.28.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.27.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.27.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.26.2 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.26.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.26.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.25.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.24.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.23.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.23.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss