Skip to content

Commit

Permalink
limit max with of tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Jul 7, 2023
1 parent 0911cbd commit f681beb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ember_debug/libs/view-inspection.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ function makeStylesheet(id) {
text-align: right;
color: #000;
background: transparent;
max-width: 400px;
overflow: hidden;
text-overflow: ellipsis;
}
#${prefix}-tooltip-${id} .${prefix}-tooltip-arrow {
Expand Down Expand Up @@ -519,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 f681beb

Please sign in to comment.