Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1db99f3

Browse filesBrowse files
[TwigBundle] Break long lines in exceptions
1 parent 949b17a commit 1db99f3
Copy full SHA for 1db99f3

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎src/Symfony/Bundle/TwigBundle/Resources/views/Exception/trace.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Resources/views/Exception/trace.html.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="trace-line-header {{ trace.file|default(false) ? 'sf-toggle' }}" data-toggle-selector="#trace-html-{{ prefix }}-{{ i }}" data-toggle-initial="{{ _display_code_snippet ? 'display' }}">
1+
<div class="trace-line-header break-long-words {{ trace.file|default(false) ? 'sf-toggle' }}" data-toggle-selector="#trace-html-{{ prefix }}-{{ i }}" data-toggle-initial="{{ _display_code_snippet ? 'display' }}">
22
{% if trace.file|default(false) %}
33
<span class="icon icon-close">{{ include('@Twig/images/icon-minus-square.svg') }}</span>
44
<span class="icon icon-open">{{ include('@Twig/images/icon-plus-square.svg') }}</span>

‎src/Symfony/Bundle/TwigBundle/Resources/views/exception.css.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Resources/views/exception.css.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ header .container { display: flex; justify-content: space-between; }
105105
.trace-line a { color: #222; }
106106
.trace-line .icon { opacity: .4; position: absolute; left: 10px; top: 11px; }
107107
.trace-line .icon svg { height: 16px; width: 16px; }
108-
.trace-line-header { padding-left: 36px; }
108+
.trace-line-header { padding-left: 36px; padding-right: 10px; }
109109

110110
.trace-file-path, .trace-file-path a { color: #222; font-size: 13px; }
111111
.trace-class { color: #B0413E; }

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.