1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Wrap long context values when displaying in sidebar

Fixes #2400
This commit is contained in:
Nick O'Leary 2020-02-07 13:59:08 +00:00
parent 797da3bc8e
commit 3db5f928ee
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 14 additions and 0 deletions

View File

@ -160,6 +160,7 @@
.red-ui-debug-msg-element { .red-ui-debug-msg-element {
color: $debug-message-text-color; color: $debug-message-text-color;
line-height: 1.3em; line-height: 1.3em;
overflow-wrap: break-word;
} }
.red-ui-debug-msg-object-key { .red-ui-debug-msg-object-key {
color: $debug-message-text-color-object-key; color: $debug-message-text-color-object-key;

View File

@ -27,9 +27,22 @@
display: none; display: none;
} }
} }
.red-ui-info-table {
table-layout: fixed;
}
table.red-ui-info-table tr:not(.blank) td:first-child {
width: 30%;
}
table.red-ui-info-table tr:not(.blank) td:last-child {
vertical-align: top;
}
} }
.red-ui-sidebar-context-property { .red-ui-sidebar-context-property {
overflow-wrap: break-word;
position: relative; position: relative;
.red-ui-debug-msg-tools { .red-ui-debug-msg-tools {
right: 0px; right: 0px;