Skip to content

Commit

Permalink
Set margin for hubspot forms inside label so autohide will not leave …
Browse files Browse the repository at this point in the history
…margins between fields (#13025)

* Set margin for hubspot forms inside label so autohide will not leave margins between fields

* Use scss to update css
  • Loading branch information
sicarul authored Oct 3, 2024
1 parent ce6a5f4 commit 2192c3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions assets/css/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -7617,8 +7617,7 @@ ul.glossary{
}

.hs-form fieldset{
display: block;
margin:1rem 0 !important
display: block
}

.hs-form fieldset:not(.form-columns-1)>.field:first-child{
Expand All @@ -7628,7 +7627,8 @@ ul.glossary{
.hs-form fieldset label{
margin-bottom: 0.5rem;
display: block;
font-weight: 400
font-weight: 400;
margin:1rem 0 !important
}

.hs-form fieldset .hs-input{
Expand Down
2 changes: 1 addition & 1 deletion theme/src/scss/_hubspot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

fieldset {
@apply block;
margin: 1rem 0 !important;

&:not(.form-columns-1) > .field:first-child {
@apply pr-2;
}

label {
@apply block mb-2 font-normal;
margin: 1rem 0 !important;
}

.hs-input {
Expand Down

0 comments on commit 2192c3c

Please sign in to comment.