Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Commit 2e00fd2

Browse files
committed
fix ugly nested errors when @mattbasta's code blows up (bug 829235)
1 parent fbdba00 commit 2e00fd2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

media/css/mkt/overlay.less

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
opacity: 1;
2121
display: block;
2222
}
23-
section {
23+
> section {
2424
.box-shadow(0 2px 2px fadeOut(#000, 50%));
2525
border: 2px solid @text;
2626
.border-radius(5px);
@@ -51,18 +51,18 @@
5151
float: right;
5252
}
5353
}
54+
> &.bare {
55+
.border-radius(0);
56+
border: 0;
57+
padding: 0;
58+
.header-button {
59+
display: block;
60+
}
61+
}
5462
}
5563
header .dismiss {
5664
width: 50px;
5765
}
58-
section.bare {
59-
.border-radius(0);
60-
border: 0;
61-
padding: 0;
62-
.header-button {
63-
display: block;
64-
}
65-
}
6666
form {
6767
margin: 0;
6868
}
@@ -82,7 +82,7 @@
8282
}
8383

8484
@media (max-width: @4col) {
85-
.overlay section {
85+
.overlay > section {
8686
padding: 10px;
8787
form {
8888
margin: 0;

0 commit comments

Comments
 (0)