From dffd79d9f3a9399e9cc5a35863bd24d7a254cf65 Mon Sep 17 00:00:00 2001 From: Frederic Heem Date: Thu, 7 Dec 2023 18:47:49 -0300 Subject: [PATCH] td padding --- examples/gccd/src/components/resourcesTree.ts | 2 +- examples/gccd/src/components/tableSkeleton.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/gccd/src/components/resourcesTree.ts b/examples/gccd/src/components/resourcesTree.ts index bd738687..b1c65b38 100644 --- a/examples/gccd/src/components/resourcesTree.ts +++ b/examples/gccd/src/components/resourcesTree.ts @@ -83,7 +83,7 @@ export default function (context: Context) { }, () => getResources.loading.val - ? TableSkeleton({ columnsSize: 1, rowSize: 20 }) + ? TableSkeleton({ columnsSize: 2, rowSize: 20 }) : TreeView({ tree: toTree(getResources.data.val) }) ); }; diff --git a/examples/gccd/src/components/tableSkeleton.ts b/examples/gccd/src/components/tableSkeleton.ts index fb3eed98..43159c96 100644 --- a/examples/gccd/src/components/tableSkeleton.ts +++ b/examples/gccd/src/components/tableSkeleton.ts @@ -5,7 +5,11 @@ export default function (context: Context, options?: any) { const { bau, css } = context; const { tbody, tr, td, span } = bau.tags; - const className = css``; + const className = css` + & td { + padding: 0.2rem; + } + `; const Skeleton = skeleton(context, { class: css`