Skip to content

The Open Standard for Generative UI

Update Table component styles to enhance typography and layout consistency (#208)

Ankit Das74d43fcdc683
diff --git a/js/packages/react-ui/src/components/Table/table.scss b/js/packages/react-ui/src/components/Table/table.scss
index da0f5fc10..eb341e957 100644
--- a/js/packages/react-ui/src/components/Table/table.scss
+++ b/js/packages/react-ui/src/components/Table/table.scss
@@ -7,7 +7,7 @@
}
.crayon-table {
- @include cssUtils.typography(body, default);
+ @include cssUtils.typography(body, small);
width: 100%;
caption-side: bottom;
border-collapse: collapse;
@@ -30,7 +30,7 @@
.crayon-table-head {
border-bottom: 1px solid cssUtils.$stroke-default;
& .crayon-table-head-label {
- @include cssUtils.typography(body, heavy);
+ @include cssUtils.typography(body, small);
color: cssUtils.$secondary-text;
display: inline-flex;
flex-grow: 1;
@@ -61,4 +61,5 @@
&:nth-child(even) {
background-color: cssUtils.$bg-highlight-subtle;
}
+ border-bottom: 1px solid cssUtils.$stroke-default;
}