Wrap long hostnames in popup panel

This commit is contained in:
Raymond Hill 2020-02-20 08:29:33 -05:00
parent 11037fc669
commit ba7d24a338
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 8 additions and 1 deletions

View File

@ -262,7 +262,9 @@ body[dir="rtl"] #tooltip {
flex-grow: 1; flex-grow: 1;
justify-content: flex-end; justify-content: flex-end;
padding-right: 2px; padding-right: 2px;
width: calc(100% - 4em); white-space: normal;
width: calc(100% - 5em);
word-break: break-word;
} }
#firewallContainer > div.isCname > span:first-of-type { #firewallContainer > div.isCname > span:first-of-type {
color: mediumblue; color: mediumblue;
@ -343,6 +345,9 @@ body[dir="rtl"] #tooltip {
content: '\2212\2212\2212'; content: '\2212\2212\2212';
} }
body.advancedUser #firewallContainer > div > span:first-of-type {
width: calc(100% - 10em);
}
body.advancedUser #firewallContainer > div > span:nth-of-type(2) { body.advancedUser #firewallContainer > div > span:nth-of-type(2) {
display: inline-flex; display: inline-flex;
} }

View File

@ -282,7 +282,9 @@ body[dir="rtl"] #tooltip {
flex-direction: column; flex-direction: column;
justify-content: flex-end; justify-content: flex-end;
padding-right: 2px; padding-right: 2px;
white-space: normal;
width: calc(100% - 4em); width: calc(100% - 4em);
word-break: break-word;
} }
#firewallContainer > div.isCname > span:first-of-type { #firewallContainer > div.isCname > span:first-of-type {
color: mediumblue; color: mediumblue;