-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flatten the character count and form group divs
The update guidance says that the outer character count div should now be merged with the form group, like this: HTML before: <div class="govuk-character-count" data-module="govuk-character-count" data-maxlength="100"> <div class="govuk-form-group"> <!-- // Label, hint, error and textarea --> </div> <!-- // Count message --> </div> HTML after: <div class="govuk-form-group govuk-character-count" data-module="govuk-character-count" data-maxlength="100"> <!-- // Label, hint, error, textarea and count message --> </div> This allows us to simplify the code considerably and get rid of the character count container completely.
- Loading branch information
1 parent
3a9cb3f
commit 84c8358
Showing
3 changed files
with
26 additions
and
55 deletions.
There are no files selected for viewing
46 changes: 0 additions & 46 deletions
46
lib/govuk_design_system_formbuilder/containers/character_count.rb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters