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_tech_docs-2.2.2 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_tech_docs-2.2.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_tech_docs-2.2.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_tech_docs-2.1.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_tech_docs-2.1.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_tech_docs-2.0.13 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
dxw_govuk_frontend_rails-3.6.0 vendor/assets/stylesheets/components/character-count/_character-count.scss
dxw_govuk_frontend_rails-3.5.0 vendor/assets/stylesheets/components/character-count/_character-count.scss
govuk_publishing_components-21.54.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.53.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.52.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.52.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.51.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.50.1 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.50.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.49.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.48.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.47.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.46.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
govuk_publishing_components-21.45.0 node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss