From e90926e12f0d64e435475a7c9c025df4f824b608 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Thu, 29 Sep 2022 17:24:09 -0400 Subject: [PATCH] 16073: Reduce process io preview table padding Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- src/views/process-panel/process-io-card.tsx | 23 ++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/views/process-panel/process-io-card.tsx b/src/views/process-panel/process-io-card.tsx index 0a1ec9e2..71b831b4 100644 --- a/src/views/process-panel/process-io-card.tsx +++ b/src/views/process-panel/process-io-card.tsx @@ -63,7 +63,25 @@ import { ProcessOutputCollectionFiles } from './process-output-collection-files' import { Process } from 'store/processes/process'; import { navigateTo } from 'store/navigation/navigation-action'; -type CssRules = 'card' | 'content' | 'title' | 'header' | 'avatar' | 'iconHeader' | 'tableWrapper' | 'tableRoot' | 'paramValue' | 'keepLink' | 'collectionLink' | 'imagePreview' | 'valArray' | 'emptyValue' | 'halfRow' | 'symmetricTabs' | 'imagePlaceholder' | 'rowWithPreview'; +type CssRules = + | "card" + | "content" + | "title" + | "header" + | "avatar" + | "iconHeader" + | "tableWrapper" + | "tableRoot" + | "paramValue" + | "keepLink" + | "collectionLink" + | "imagePreview" + | "valArray" + | "emptyValue" + | "halfRow" + | "symmetricTabs" + | "imagePlaceholder" + | "rowWithPreview"; const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ card: { @@ -102,6 +120,9 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ '& thead th': { verticalAlign: 'bottom', paddingBottom: '10px', + }, + '& td, & th': { + paddingRight: '25px', } }, paramValue: { -- 2.30.2