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-12.14.1 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.14.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.13.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.12.1 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.12.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.11.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.10.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.9.1 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.9.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.8.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.7.1 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.7.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.6.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.5.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.4.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.3.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.2.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.1.0 node_modules/govuk-frontend/components/character-count/_character-count.scss
govuk_publishing_components-12.0.1 node_modules/govuk-frontend/components/character-count/_character-count.scss