Skip to content

Commit 4ad2793

Browse files
committed
Made the button inline
1 parent 1deb2ac commit 4ad2793

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/assets/css/main.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,16 +2426,16 @@ iframe {
24262426
left: -5000px;
24272427
}
24282428

2429-
.email-octopus-form-row-subscribe button {
2429+
.email-octopus-form-row button {
24302430
border: 1px solid #ED225D;
24312431
color: #ED225D;
24322432
padding: 0.4em 0.6em;
24332433
margin: 1em 0 0 0;
24342434
font-family: "Montserrat", sans-serif;
2435-
display: inline-block;
2435+
display: block;
24362436
}
24372437

2438-
.email-octopus-form-row-subscribe button:hover {
2438+
.email-octopus-form-row button:hover {
24392439
background-color: #ED225D;
24402440
color: white;
24412441
}
@@ -2447,7 +2447,12 @@ iframe {
24472447

24482448
@media (min-width: 720px) {
24492449
.email-octopus-email-address {
2450-
width: 20em;
2450+
width: 16em;
24512451
}
24522452

2453+
.email-octopus-form-row button {
2454+
margin: 0;
2455+
margin-left: 0.5em;
2456+
display: inline;
2457+
}
24532458
}

src/templates/pages/community/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ slug: community/
8383
<p>{{#i18n "mailing-list-1"}}{{/i18n}}</p>
8484
<div class="email-octopus-form-row">
8585
<input type="email" name="emailAddress" placeholder="email" class="email-octopus-email-address">
86+
<button type="submit">subscribe</button>
8687
</div>
8788
<div class="email-octopus-form-row-hp" aria-hidden="true">
8889
<input type="text" name="hp537b6ec8-d123-11e6-8561-06ead731d453" tabindex="-1">
8990
</div>
9091
<div class="email-octopus-form-row-subscribe">
9192
<input type="hidden" name="successRedirectUrl" class="email-octopus-success-redirect-url" value="">
92-
<button type="submit">subscribe</button>
9393
</div>
9494
</form>
9595
</div>

0 commit comments

Comments
 (0)