Skip to content

Commit 4f2d960

Browse files
authored
Merge pull request #948 from codeRIT/contact-us
Fix mobile margin for input field
2 parents 0cdfc9e + c5d6cf2 commit 4f2d960

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/index.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,7 @@ lines of text may be wider than they appear
239239
.mailchimp-container {
240240
height: 40px;
241241
width: 375px;
242-
margin: auto;
243-
244-
margin-top: 20px;
245-
margin-bottom: 20px;
242+
margin: 20px auto;
246243

247244
border-style: solid;
248245
border-width: 1px;
@@ -252,7 +249,8 @@ lines of text may be wider than they appear
252249
@include mobile {
253250
width: 80vw;
254251

255-
margin-top: 1vh;
252+
// On mobile, only enforce top margin
253+
margin: 1vh auto auto auto;
256254

257255
height: 12vw;
258256
border-radius: 6vw;

0 commit comments

Comments
 (0)