Skip to content

Commit

Permalink
limit max width of tooltips (#2426)
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Aug 29, 2023
1 parent 97f2097 commit 4a5ec59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ember_debug/libs/view-inspection.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ function makeStylesheet(id) {
text-align: right;
color: #000;
background: transparent;
max-width: 400px;
word-break: break-word;
}
#${prefix}-tooltip-${id} .${prefix}-tooltip-arrow {
Expand Down Expand Up @@ -520,6 +522,7 @@ export default class ViewInspection {
this._renderTokens(td, value);
} else {
td.innerText = value;
td.title = value;
}

tr.appendChild(th);
Expand Down

0 comments on commit 4a5ec59

Please sign in to comment.