Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading