Sha256: f46d996fd399e64649f3a2650faf6fe18d77975f15956bfd0223e52edb31afa2
Contents?: true
Size: 956 Bytes
Versions: 21
Compression:
Stored size: 956 Bytes
Contents
@import "../error-message/index"; @import "../hint/index"; @import "../label/index"; @import "../textarea/index"; @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-character-count__message { @include govuk-font-tabular-numbers; margin-top: 0; margin-bottom: 0; &::after { // Zero-width space that will reserve vertical space when no hint is provided // as: // - setting a min-height is not possible without a magic number // because the line-height is set by the `govuk-font` call above // - using `:empty` is not possible as the hint macro outputs line breaks content: "\200B"; } } .govuk-character-count__message--disabled { visibility: hidden; } } /*# sourceMappingURL=_index.scss.map */
Version data entries
21 entries across 19 versions & 3 rubygems