Skip to content

Commit 1521cca

Browse files
committed
PB-266: Video background for Slide
1 parent b84757d commit 1521cca

File tree

2 files changed

+5
-5
lines changed
  • app/code/Magento/PageBuilder/view

2 files changed

+5
-5
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/slide/_default.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
overflow-wrap: break-word;
127127
word-wrap: break-word;
128128

129-
&[data-background-type=video][data-play-only-visible=true] {
129+
&[data-background-type='video'][data-play-only-visible='true'] {
130130
transform: translate3d(0, 150vh, 0);
131131

132132
&.video-inserted,
@@ -155,7 +155,7 @@
155155
}
156156
}
157157

158-
& + [data-content-type=slide] {
158+
& + [data-content-type='slide'] {
159159
height: 0;
160160
min-height: 0;
161161

app/code/Magento/PageBuilder/view/frontend/web/css/source/content-type/slide/_default.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
}
2828

29-
& + [data-content-type=slide] {
29+
& + [data-content-type='slide'] {
3030
height: 0;
3131
min-height: 0;
3232

@@ -44,7 +44,7 @@
4444
overflow-wrap: break-word;
4545
word-wrap: break-word;
4646

47-
&[data-background-type=video][data-play-only-visible=true] {
47+
&[data-background-type='video'][data-play-only-visible='true'] {
4848
transform: translate3d(0, 150vh, 0);
4949

5050
&.video-inserted,
@@ -63,7 +63,7 @@
6363
z-index: 2;
6464
}
6565

66-
[id*="jarallax-container"] {
66+
[id*='jarallax-container'] {
6767
video,
6868
iframe {
6969
margin: auto !important;

0 commit comments

Comments
 (0)