Skip to content

Commit

Permalink
fix(GUI): severity pill label cannot break on whitespace (gets clippe…
Browse files Browse the repository at this point in the history
…d in edge-case of extreme narrow column)
  • Loading branch information
danielweck committed Feb 5, 2025
1 parent 1b60f94 commit 2d89006
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/ReportSections/Images.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default class Images extends React.Component {
whiteSpace: "pre-wrap",
padding: 3,
border: "silver solid 2px",
font: "mono"
fontFamily: "monospace"
}}>{ row.src }</p>
</div>
</TableCell>
Expand Down
6 changes: 6 additions & 0 deletions src/renderer/styles/Report.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@

.impact {
span {
white-space: pre;
/*
word-break: break-all;
text-overflow: ellipsis;
overflow-wrap: break-word;
*/
display:inline-block;
height:1.5em;
padding: .4em;
Expand Down

0 comments on commit 2d89006

Please sign in to comment.