mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Better displaying container's info for Pods and all tooltips with formatters={{tableView: true}}
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
d5a124bd79
commit
cebde0d2a9
@ -86,6 +86,7 @@ class NonInjectedPods extends React.Component<Dependencies> {
|
||||
tooltip={{
|
||||
formatters: {
|
||||
tableView: true,
|
||||
nowrap: true,
|
||||
},
|
||||
children: (
|
||||
<>
|
||||
|
||||
@ -64,6 +64,7 @@
|
||||
|
||||
&.tableView {
|
||||
min-width: 200px;
|
||||
padding: calc(var(--padding) * 1.5);
|
||||
|
||||
> :not(:last-child) {
|
||||
margin-bottom: var(--flex-gap);
|
||||
@ -77,13 +78,15 @@
|
||||
.name {
|
||||
color: var(--textColorAccent);
|
||||
text-align: right;
|
||||
flex: 0 0 35%;
|
||||
min-width: 15%;
|
||||
}
|
||||
|
||||
.value {
|
||||
flex-grow: 1;
|
||||
text-align: left;
|
||||
max-width: 300px;
|
||||
word-break: break-word;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
color: var(--textColorSecondary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user