diff --git a/libs/components/src/reset.css b/libs/components/src/reset.css new file mode 100644 index 0000000000..51d9041b5f --- /dev/null +++ b/libs/components/src/reset.css @@ -0,0 +1,16 @@ +/** + * Reset styles to be consistent with Bootstrap reset + * Reassess when Bootstrap is removed and Tailwind preflight is added +*/ + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +th { + text-align: inherit; + text-align: -webkit-match-parent; +} diff --git a/libs/components/src/table/table.component.css b/libs/components/src/table/table.component.css deleted file mode 100644 index e764a9130e..0000000000 --- a/libs/components/src/table/table.component.css +++ /dev/null @@ -1,4 +0,0 @@ -th { - text-align: inherit; - text-align: -webkit-match-parent; -} diff --git a/libs/components/src/tw-theme.css b/libs/components/src/tw-theme.css index 14b5fcb433..b2fa2bddce 100644 --- a/libs/components/src/tw-theme.css +++ b/libs/components/src/tw-theme.css @@ -1,3 +1,5 @@ +@import "./reset.css"; + :root { --color-transparent-hover: rgb(0 0 0 / 0.03); @@ -159,7 +161,6 @@ } @import "./search/search.component.css"; -@import "./table/table.component.css"; /** * tw-break-words does not work with table cells: