File tree 3 files changed +10
-7
lines changed
TwigBundle/Resources/views
WebProfilerBundle/Resources/views/Collector
3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
- <div class =" exception-summary" >
1
+ <div class =" exception-summary {{ exception . message is empty ? ' exception-without-message ' }} " >
2
2
<div class =" exception-metadata" >
3
3
<div class =" container" >
4
4
<h2 class =" exception-hierarchy" >
13
13
</h2 >
14
14
</div >
15
15
</div >
16
- {% if exception . message is not empty %}
17
- <div class =" container " >
18
- <div class =" exception-message-wrapper " >
16
+
17
+ <div class =" exception-message-wrapper " >
18
+ <div class =" container " >
19
19
<h1 class =" break-long-words exception-message {{ exception .message | length > 180 ? ' long' }}" >
20
20
{{- exception .message | nl2br | format_file_from_text -}}
21
21
</h1 >
25
25
</div >
26
26
</div >
27
27
</div >
28
- {% endif %}
29
28
</div >
30
29
31
30
<div class =" container" >
Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ header .container { display: flex; justify-content: space-between; }
79
79
.exception-hierarchy .icon { margin: 0 3px; opacity: .7; }
80
80
.exception-hierarchy .icon svg { height: 13px; width: 13px; vertical-align: -2px; }
81
81
82
- .exception-message-wrapper { display: flex; align-items: flex-start; min-height: 70px; padding: 10px 0 8px; }
82
+ .exception-without-message .exception-message-wrapper { display: none; }
83
+ .exception-message-wrapper .container { display: flex; align-items: flex-start; min-height: 70px; padding: 10px 0 8px; }
83
84
.exception-message { flex-grow: 1; }
84
85
.exception-message, .exception-message a { color: #FFF; font-size: 21px; font-weight: 400; margin: 0; }
85
86
.exception-message.long { font-size: 18px; }
Original file line number Diff line number Diff line change 16
16
margin: 1em 0;
17
17
padding: 10px;
18
18
}
19
+ .exception-summary.exception-without-message {
20
+ display: none;
21
+ }
19
22
20
23
.exception-message {
21
24
color: #B0413E;
26
29
display: none;
27
30
}
28
31
29
- .exception-message-wrapper {
32
+ .exception-message-wrapper .container {
30
33
min-height: auto;
31
34
}
You can’t perform that action at this time.
0 commit comments