Skip to content

Commit 4bb359a

Browse files
committed
Merge branch 'ACP2E-2966' of https://github.com/adobe-commerce-tier-4/magento2ce into T4-PR-06-14-2024
2 parents d290f35 + f75aa71 commit 4bb359a

File tree

5 files changed

+148
-143
lines changed

5 files changed

+148
-143
lines changed

app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ define([
122122
isFullscreen: false,
123123
FTCF: '[data-gallery-role="fotorama__fullscreen-icon"]',
124124
Base: 0, //on check for video is base this setting become true if there is any video with base role
125-
MobileMaxWidth: 768,
125+
MobileMaxWidth: 767,
126126
GP: 'gallery-placeholder', //gallery placeholder class is needed to find and erase <script> tag
127127
videoData: null,
128128
videoDataPlaceholder: [{

app/design/frontend/Magento/blank/etc/view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
<var name="breakpoints">
233233
<var name="mobile">
234234
<var name="conditions">
235-
<var name="max-width">768px</var>
235+
<var name="max-width">767px</var>
236236
</var>
237237
<var name="options">
238238
<var name="options">

app/design/frontend/Magento/luma/etc/view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
<var name="breakpoints">
239239
<var name="mobile">
240240
<var name="conditions">
241-
<var name="max-width">768px</var>
241+
<var name="max-width">767px</var>
242242
</var>
243243
<var name="options">
244244
<var name="options">

lib/web/css/source/lib/_responsive.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727

2828
& when (@media-target = 'mobile'), (@media-target = 'all') {
2929

30-
@media only screen and (max-width: (@screen__m + 1)) {
30+
@media only screen and (max-width: @screen__m) {
3131
.media-width('max', (@screen__m + 1));
3232
}
3333

34-
@media only screen and (max-width: @screen__m) {
34+
@media only screen and (max-width: (@screen__m - 1)) {
3535
.media-width('max', @screen__m);
3636
}
3737

@@ -59,14 +59,14 @@
5959

6060
& when (@media-target = 'desktop'), (@media-target = 'all') {
6161

62-
@media all and (min-width: (@screen__m + 1)),
62+
@media all and (min-width: @screen__m),
6363
print {
64-
.media-width('min', (@screen__m + 1));
64+
.media-width('min', @screen__m);
6565
}
6666

6767
@media all and (min-width: (@screen__m + 1)),
6868
print {
69-
.media-width('min', (@screen__m));
69+
.media-width('min', (@screen__m + 1));
7070
}
7171

7272
@media all and (min-width: @screen__l),

0 commit comments

Comments
 (0)