Skip to content

Commit ccae192

Browse files
authored
Merge pull request #66 from gravity-ui/fix-hs-form-label-width-limitations
fix: hs form field width limitations
2 parents e60ac15 + fe45a77 commit ccae192

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sub-blocks/HubspotForm/HubspotForm.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ $block: '.#{$ns}hubspot-form';
3131
position: relative;
3232
}
3333

34+
&:only-child > label {
35+
width: 100%;
36+
}
37+
3438
.input {
3539
box-sizing: border-box;
3640
display: inline-block;

0 commit comments

Comments
 (0)