Skip to content

Commit 8aa6c92

Browse files
committed
ACP2E-2966: In ipad mini the menu and header loads as mobile, instead they should load as desktop.
1 parent d331646 commit 8aa6c92

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderImageTest/ImageTestCMSPageOnTabletTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@
9494
<dontSeeElement selector="{{ImageOnStorefront.imageMobile('1')}}" stepKey="dontSeeMobileImageOnDefaultRes"/>
9595

9696
<!-- Validate images with window width of 768px -->
97-
<resizeWindow width="769" height="1024" stepKey="resizeWindowTo768by1024"/>
97+
<resizeWindow width="768" height="1024" stepKey="resizeWindowTo768by1024"/>
9898
<seeElement selector="{{ImageOnStorefront.imageDesktop('1')}}" stepKey="seeMainImageOn768by1024"/>
9999
<dontSeeElement selector="{{ImageOnStorefront.imageMobile('1')}}" stepKey="dontSeeMobileImageOn768by1024"/>
100100

101101
<!-- Validate images with window width of 767px -->
102-
<resizeWindow width="768" height="1024" stepKey="resizeWindowTo767by1024"/>
102+
<resizeWindow width="767" height="1024" stepKey="resizeWindowTo767by1024"/>
103103
<seeElement selector="{{ImageOnStorefront.imageMobile('1')}}" stepKey="seeMobileImageOn767by1024"/>
104104
<dontSeeElement selector="{{ImageOnStorefront.imageDesktop('1')}}" stepKey="dontSeeDesktopImageOn767by1024"/>
105105
</test>

app/code/Magento/PageBuilder/etc/view.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262
<var name="stage">true</var>
6363
<var name="class">mobile-switcher</var>
6464
<var name="icon">Magento_PageBuilder::css/images/switcher/switcher-mobile.svg</var>
65-
<var name="media">only screen and (max-width: 768px)</var>
65+
<var name="media">only screen and (max-width: 767px)</var>
6666
<var name="conditions">
67-
<var name="max-width">768px</var>
67+
<var name="max-width">767px</var>
6868
<var name="min-width">640px</var>
6969
</var>
7070
<var name="options">

0 commit comments

Comments
 (0)