Skip to content

Commit

Permalink
minor #52511 [ErrorHandler] Do not use hyphens in exception message (…
Browse files Browse the repository at this point in the history
…jkrzefski, javiereguiluz)

This PR was merged into the 7.1 branch.

Discussion
----------

[ErrorHandler] Do not use hyphens in exception message

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

This is just a minor cosmetic change in the error handler. Currently, error messages are shown with hyphenation if they exceed the available with. But in technical texts like exception messages, a hyphen could give the message a slightly different meaning. To reduce the risk for confusion, I removed the hyphenation.

Commits
-------

e467027 Update the hyphenate character
234c3c4 Do not use hyphens in exception message
  • Loading branch information
fabpot committed Apr 5, 2024
2 parents d1f3ee8 + e467027 commit 8e06742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ div.table-with-search-field .no-results-message {
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
hyphenate-character: '';
}
.text-small {
font-size: 12px !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ table th { background-color: var(--base-2); font-weight: bold; text-align: left;
.prewrap { white-space: pre-wrap; }
.nowrap { white-space: nowrap; }
.newline { display: block; }
.break-long-words { word-wrap: break-word; overflow-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; min-width: 0; }
.break-long-words { word-wrap: break-word; overflow-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; hyphenate-character: ''; min-width: 0; }
.text-small { font-size: 12px !important; }
.text-muted { color: #999; }
.text-bold { font-weight: bold; }
Expand Down

0 comments on commit 8e06742

Please sign in to comment.