Skip to content

Commit

Permalink
td padding
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Dec 7, 2023
1 parent e39c46e commit dffd79d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/gccd/src/components/resourcesTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) })
);
};
Expand Down
6 changes: 5 additions & 1 deletion examples/gccd/src/components/tableSkeleton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit dffd79d

Please sign in to comment.