File tree Expand file tree Collapse file tree 7 files changed +58
-0
lines changed
app/code/Magento/PageBuilder
view/frontend/web/css/source/content-type Expand file tree Collapse file tree 7 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 3235
3235
<actionGroup ref =" switchToPageBuilderStage" stepKey =" switchToPageBuilderStage" />
3236
3236
</before >
3237
3237
<after >
3238
+ <resizeWindow width =" 1280" height =" 1024" stepKey =" resizeWindowToDesktop" />
3238
3239
<actionGroup ref =" navigateToMediaGallery" stepKey =" navigateToMediaGallery" />
3239
3240
<actionGroup ref =" NavigateToMediaFolderActionGroup" stepKey =" NavigateToFolder" >
3240
3241
<argument name =" FolderName" value =" {{PageBuilderBackgroundImage_JPG.path}}" />
3311
3312
<argument name =" backgroundImage" value =" PageBuilderBackgroundImage_JPG" />
3312
3313
<argument name =" pageNamePrefix" value =" banner" />
3313
3314
</actionGroup >
3315
+ <resizeWindow width =" 767" height =" 1000" stepKey =" resizeWindowToMobile" />
3316
+ <!-- Storefront: Check Background Attachment Mobile -->
3317
+ <comment userInput =" Storefront: Check Background Attachment Mobile" stepKey =" commentStorefrontCheckMobile" />
3318
+ <executeJS function =" return jQuery({{BannerOnFrontend.wrapperJS('1')}}).css('background-attachment')" stepKey =" assignedBackgroundAttachment" />
3319
+ <assertEquals stepKey =" assertEqualToEnteredValue" >
3320
+ <expectedResult type =" string" >{{PageBuilderBackgroundAttachment_Scroll.value}}</expectedResult >
3321
+ <actualResult type =" variable" >$assignedBackgroundAttachment</actualResult >
3322
+ </assertEquals >
3314
3323
</test >
3315
3324
</tests >
Original file line number Diff line number Diff line change 65
65
66
66
@media only screen and (max-width : @screen__m ) {
67
67
.pagebuilder-banner-wrapper {
68
+ background-attachment : scroll !important ;
69
+
68
70
.pagebuilder-overlay :not (.pagebuilder-poster-overlay ) {
69
71
max-width : none ;
70
72
}
Original file line number Diff line number Diff line change 11
11
box-sizing : border-box ;
12
12
}
13
13
14
+ //
15
+ // Responsive Classes
16
+ // _____________________________________________
17
+
14
18
@media only screen and (max-width : @screen__m ) {
15
19
.pagebuilder-column {
20
+ background-attachment : scroll !important ;
16
21
flex-basis : 100% ;
17
22
}
18
23
}
Original file line number Diff line number Diff line change 17
17
box-sizing : border-box ;
18
18
}
19
19
}
20
+
21
+ //
22
+ // Responsive Classes
23
+ // _____________________________________________
24
+
25
+ @media only screen and (max-width : @screen__m ) {
26
+ [data- role= ' row' ][data- appearance= ' contained' ] {
27
+ [data- element= ' inner' ] {
28
+ background-attachment : scroll !important ;
29
+ }
30
+ }
31
+ }
Original file line number Diff line number Diff line change 10
10
[data- role= ' row' ][data- appearance= ' full-bleed' ] {
11
11
box-sizing : border-box ;
12
12
}
13
+
14
+ //
15
+ // Responsive Classes
16
+ // _____________________________________________
17
+
18
+ @media only screen and (max-width : @screen__m ) {
19
+ [data- role= ' row' ][data- appearance= ' full-bleed' ] {
20
+ background-attachment : scroll !important ;
21
+ }
22
+ }
Original file line number Diff line number Diff line change 18
18
width : 100% ;
19
19
}
20
20
}
21
+
22
+ //
23
+ // Responsive Classes
24
+ // _____________________________________________
25
+
26
+ @media only screen and (max-width : @screen__m ) {
27
+ [data- role= ' row' ][data- appearance= ' full-width' ] {
28
+ background-attachment : scroll !important ;
29
+ }
30
+ }
Original file line number Diff line number Diff line change @@ -102,3 +102,13 @@ div[data-role='tabs'] {
102
102
}
103
103
}
104
104
}
105
+
106
+ //
107
+ // Responsive Classes
108
+ // _____________________________________________
109
+
110
+ @media only screen and (max-width : @screen__m ) {
111
+ [data- role= ' tab-item' ] {
112
+ background-attachment : scroll !important ;
113
+ }
114
+ }
You can’t perform that action at this time.
0 commit comments