Skip to content

Commit ee80fd1

Browse files
committed
[fix bug 1124570] Remove delay showing home promo's for smaller screens
1 parent 67fc393 commit ee80fd1

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

media/css/mozorg/home/home-promo.less

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
color: #fff;
5959
overflow: hidden;
6060
opacity: 1;
61-
.transition(opacity .3s ease-in-out);
6261
}
6362

6463
#promo-1 {
@@ -142,18 +141,6 @@
142141
}
143142
}
144143

145-
.js {
146-
.promo-grid {
147-
.item {
148-
opacity: 0;
149-
}
150-
151-
&.reveal .item {
152-
opacity: 1;
153-
}
154-
}
155-
}
156-
157144
.promo-large-landscape,
158145
.promo-large-portrait {
159146
z-index: 0;
@@ -1563,6 +1550,19 @@ html[lang|="en"] {
15631550
*/
15641551
@media only screen and (min-width: (@widthSquareGrid_6)) {
15651552

1553+
.js {
1554+
.promo-grid {
1555+
.item {
1556+
opacity: 0;
1557+
.transition(opacity .3s ease-in-out);
1558+
}
1559+
1560+
&.reveal .item {
1561+
opacity: 1;
1562+
}
1563+
}
1564+
}
1565+
15661566
.promo-grid.stagger .item {
15671567

15681568
&:first-child {

0 commit comments

Comments
 (0)