Allow to scroll table columns with labels (badges) (#4358)

This commit is contained in:
Roman authored and GitHub committed 2021-11-16 14:05:14 -05:00
1 parent 159c240a80
commit 4eb9a689ba
11 files changed
+45 -22

No files matched your search

@@ -69,7 +69,7 @@ export class Secrets extends React.Component<Props> {
{ title: "Name", className: "name", sortBy: columnId.name, id: columnId.name },
{ className: "warning", showWithColumn: columnId.name },
{ title: "Namespace", className: "namespace", sortBy: columnId.namespace, id: columnId.namespace },
{ title: "Labels", className: "labels", sortBy: columnId.labels, id: columnId.labels },
{ title: "Labels", className: "labels scrollable", sortBy: columnId.labels, id: columnId.labels },
{ title: "Keys", className: "keys", sortBy: columnId.keys, id: columnId.keys },
{ title: "Type", className: "type", sortBy: columnId.type, id: columnId.type },
{ title: "Age", className: "age", sortBy: columnId.age, id: columnId.age },
@@ -78,7 +78,7 @@ export class Secrets extends React.Component<Props> {
secret.getName(),
<KubeObjectStatusIcon key="icon" object={secret} />,
secret.getNs(),
secret.getLabels().map(label => <Badge key={label} label={label} expandable={false}/>),
secret.getLabels().map(label => <Badge scrollable key={label} label={label} expandable={false}/>),
secret.getKeys().join(", "),
secret.type,
secret.getAge(),