Fix message entry overflowing in logger

Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3021
This commit is contained in:
Raymond Hill 2023-12-21 12:02:57 -05:00
parent 34a8a7ae82
commit 49c8310e22
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
2 changed files with 5 additions and 2 deletions

View file

@ -309,9 +309,12 @@ body[dir="rtl"] #vwRenderer .logEntry > div > span:first-child {
}
#vwRenderer .logEntry > div > span:nth-of-type(2) {
}
#vwRenderer #vwContent .logEntry > div > span:nth-of-type(2) {
#vwRenderer .logEntry > div > span:nth-of-type(2) {
text-overflow: ellipsis;
}
#vwRenderer .logEntry > div.messageRealm > span:nth-of-type(2) ~ span {
display: none;
}
.vExpanded #vwRenderer #vwContent .logEntry > div > span:nth-of-type(2) {
overflow-y: auto;
white-space: pre-line;

View file

@ -671,7 +671,7 @@ const viewPort = (( ) => {
` width: calc(calc(100% - ${reservedWidth}px) * ${cellWidths[COLUMN_FILTER]});`,
'}',
`#vwContent .logEntry > div.messageRealm > span:nth-of-type(${COLUMN_MESSAGE+1}) {`,
` width: calc(100% - ${cellWidths[COLUMN_MESSAGE]}px);`,
` width: calc(100% - ${cellWidths[COLUMN_TIMESTAMP]}px);`,
'}',
`#vwContent .logEntry > div > span:nth-of-type(${COLUMN_RESULT+1}) {`,
` width: ${cellWidths[COLUMN_RESULT]}px;`,