1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

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;`,