Skip to content

Commit 8f50b45

Browse files
authored
Merge pull request #2 from cstergianos/feature/21592-newsletter-subscription-input-box-fix
Apply the same fix for Magento blank
2 parents 991b914 + 459121b commit 8f50b45

File tree

2 files changed

+5
-3
lines changed
  • app/design/frontend/Magento

2 files changed

+5
-3
lines changed

app/design/frontend/Magento/blank/Magento_Newsletter/web/css/source/_module.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
}
4545

4646
input {
47-
padding-left: 35px;
47+
margin-right: 35px;
48+
padding: 0 0 0 35px; // Reset some default Safari padding values.
4849
}
4950

5051
.title {
@@ -75,7 +76,8 @@
7576

7677
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
7778
.block.newsletter {
78-
width: 32%;
79+
max-width: 44%;
80+
width: max-content;
7981

8082
.field {
8183
margin-right: 5px;

app/design/frontend/Magento/luma/Magento_Newsletter/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979

8080
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
8181
.block.newsletter {
82-
.lib-css(width, max-content);
8382
max-width: 44%;
83+
width: max-content;
8484
}
8585
}
8686

0 commit comments

Comments
 (0)