From: Stephen Smith Date: Thu, 29 Sep 2022 21:24:09 +0000 (-0400) Subject: 16073: Reduce process io preview table padding X-Git-Tag: 2.5.0~31^2~25 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/e90926e12f0d64e435475a7c9c025df4f824b608 16073: Reduce process io preview table padding Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- 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: {