Skip to content

Commit

Permalink
Set small margin on the textarea element in textarea component
Browse files Browse the repository at this point in the history
This element defaults to a 30px margin which is the same as the outer
form-group element and thus it collapses into it. I intend to place
elements inside this form group after the textarea and these look
visually better with a small 5px margin.
  • Loading branch information
kevindew committed Nov 29, 2018
1 parent a61163c commit 06f585d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@import "helpers/govuk-frontend-settings";
@import "govuk-frontend/components/textarea/textarea";
@import "govuk-frontend/objects/form-group";

.gem-c-textarea {
margin-bottom: govuk-spacing(1);
}

0 comments on commit 06f585d

Please sign in to comment.