From c9d1fef2cd81cfc42092930f63c28bf202ebb08f Mon Sep 17 00:00:00 2001 From: Nick Mitchell Date: Sat, 3 Sep 2022 13:23:50 -0400 Subject: [PATCH] fix(plugins/plugin-kubectl): in split screen mode, PVC and PV tables horizontally overflow --- plugins/plugin-kubectl/src/lib/view/formatTable.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/plugin-kubectl/src/lib/view/formatTable.ts b/plugins/plugin-kubectl/src/lib/view/formatTable.ts index 3befed1c2e7..82878d36689 100644 --- a/plugins/plugin-kubectl/src/lib/view/formatTable.ts +++ b/plugins/plugin-kubectl/src/lib/view/formatTable.ts @@ -81,6 +81,15 @@ export const outerCSSForKey = { // api-resources APIGROUP: 'hide-with-sidecar', + // PVC and PV + VOLUME: 'hide-with-sidecar kui--hide-in-narrower-windows', + STORAGECLASS: 'hide-with-sidecar kui--hide-in-narrower-windows', + 'ACCESS MODES': 'hide-with-sidecar kui--hide-in-narrower-windows', + + // PV + CLAIM: 'hide-with-sidecar kui--hide-in-narrower-windows', + 'RECLAIM POLICY': 'hide-with-sidecar kui--hide-in-narrower-windows', + REVISION: 'hide-with-sidecar', // helm ls AGE: 'hide-with-sidecar', // e.g. helm status and kubectl get svc 'PORT(S)': 'entity-name-group entity-name-group-narrow hide-with-sidecar', // helm status for services