Skip to content

Commit 9861790

Browse files
Condense duplicate selectors
1 parent 57cbf41 commit 9861790

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
padding: 8px 0;
5454
}
5555

56-
.exception-message .message{
56+
.exception-message .message {
5757
margin-bottom: 8px;
5858
line-height: 25px;
5959
font-size: 1.5em;
@@ -172,20 +172,15 @@
172172
color: #666;
173173
overflow-wrap: break-word;
174174
}
175-
a:hover { color: #C00; }
176-
a.trace-frames.selected { color: #C00 }
175+
a:hover, a.trace-frames.selected { color: #C00; }
177176

178177
@media (prefers-color-scheme: dark) {
179178
body {
180179
background-color: #222;
181180
color: #ECECEC;
182181
}
183182

184-
.details {
185-
border-color: #666;
186-
}
187-
188-
.summary {
183+
.details, .summary {
189184
border-color: #666;
190185
}
191186

@@ -220,8 +215,7 @@
220215

221216
a { color: #C00; }
222217
a.trace-frames { color: #999; }
223-
a:hover { color: #E9382B; }
224-
a.trace-frames.selected { color: #E9382B; }
218+
a:hover, a.trace-frames.selected { color: #E9382B; }
225219
}
226220

227221
<%= yield :style %>

0 commit comments

Comments
 (0)