-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to warning text component for no icon
- Loading branch information
1 parent
4d06a76
commit 2fd3cc4
Showing
4 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
@import "helpers/govuk-frontend-settings"; | ||
@import "govuk-frontend/components/warning-text/warning-text"; | ||
|
||
.gem-c-warning-text__text--no-indent { | ||
padding-left: 0; | ||
margin-left: 0; | ||
} |
11 changes: 7 additions & 4 deletions
11
app/views/govuk_publishing_components/components/_warning_text.html.erb
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
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