Skip to content

Commit e467027

Browse files
committed
Update the hyphenate character
1 parent 234c3c4 commit e467027

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ table tbody td.num-col {
641641
-webkit-hyphens: auto;
642642
-moz-hyphens: auto;
643643
hyphens: auto;
644+
hyphenate-character: '';
644645
}
645646
.text-small {
646647
font-size: 12px !important;

src/Symfony/Component/ErrorHandler/Resources/assets/css/exception.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ table th { background-color: var(--base-2); font-weight: bold; text-align: left;
132132
.prewrap { white-space: pre-wrap; }
133133
.nowrap { white-space: nowrap; }
134134
.newline { display: block; }
135-
.break-long-words { word-wrap: break-word; overflow-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; min-width: 0; }
135+
.break-long-words { word-wrap: break-word; overflow-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; hyphenate-character: ''; min-width: 0; }
136136
.text-small { font-size: 12px !important; }
137137
.text-muted { color: #999; }
138138
.text-bold { font-weight: bold; }

src/Symfony/Component/ErrorHandler/Resources/views/exception.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</div>
1616
<div class="exception-message-wrapper">
1717
<div class="container">
18-
<h1 class="exception-message<?= mb_strlen($exceptionMessage) > 180 ? ' long' : ''; ?>"><?= $this->formatFileFromText(nl2br($exceptionMessage)); ?></h1>
18+
<h1 class="break-long-words exception-message<?= mb_strlen($exceptionMessage) > 180 ? ' long' : ''; ?>"><?= $this->formatFileFromText(nl2br($exceptionMessage)); ?></h1>
1919

2020
<div class="exception-illustration hidden-xs-down">
2121
<?= $this->include('assets/images/symfony-ghost.svg.php'); ?>

0 commit comments

Comments
 (0)