Skip to content

Commit 1034ebe

Browse files
committed
newsletter subsciption btn tweak
1 parent 8198a5d commit 1034ebe

File tree

1 file changed

+18
-26
lines changed

1 file changed

+18
-26
lines changed

src/components/NewsletterSection.astro

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ const { headerLevel,
3737
<div class="form-row">
3838
<div class="form-row field checkbox">
3939
<Checkbox client:load />
40-
<p>I agree to receive information about defguards products and services.</p>
40+
<p>I agree to receive information about defguard's products and services.</p>
4141
</div>
4242
<p>
43-
By submitting this form, I confirm that I have read and agree to defguards
43+
By submitting this form, I confirm that I have read and agree to defguard's
4444
Privacy Notice and Privacy Policy.
4545
</p>
4646
</div>
@@ -89,39 +89,31 @@ const { headerLevel,
8989
flex-flow: column;
9090
row-gap: 8px;
9191

92-
input {
92+
.form-row {
9393
width: 100%;
94-
height: 38px;
95-
border: 1px solid var(--text-body-primary);
96-
background-color: transparent;
97-
&:focus-visible {
98-
outline: none;
94+
display: flex;
95+
flex-flow: column;
96+
align-items: center;
97+
justify-content: flex-start;
98+
gap: 8px;
99+
100+
&.field {
101+
max-width: 720px;
99102
}
100103
}
101104

102105
.field-email {
103106
padding: 0;
107+
width: 100%;
104108
}
105109

106-
.form-row {
110+
input {
107111
width: 100%;
108-
display: flex;
109-
flex-flow: row wrap;
110-
align-items: center;
111-
justify-content: flex-start;
112-
column-gap: 8px;
113-
row-gap: 8px;
114-
115-
&.field {
116-
max-width: 720px;
117-
@include break-up(lg) {
118-
display: grid;
119-
grid-template-columns: max-content 1fr;
120-
}
121-
122-
&.checkbox {
123-
padding: 0px;
124-
}
112+
height: 38px;
113+
border: 1px solid var(--text-body-primary);
114+
background-color: transparent;
115+
&:focus-visible {
116+
outline: none;
125117
}
126118
}
127119

0 commit comments

Comments
 (0)