diff --git a/packages/ui/src/components/Organisms/PageContent/BlockMarkup.stories.ts b/packages/ui/src/components/Organisms/PageContent/BlockMarkup.stories.ts index 765b45486..9711bb122 100644 --- a/packages/ui/src/components/Organisms/PageContent/BlockMarkup.stories.ts +++ b/packages/ui/src/components/Organisms/PageContent/BlockMarkup.stories.ts @@ -72,6 +72,7 @@ export const Mixed = { args: { markup: `

Heading 1

+
POSITIONCITYRATING
1.Zurich10/10
2.Geneva9/10
3.Lucerne9/10
4.Winterthur8.5/10
5.Basel8/10
Table caption

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Heading 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

diff --git a/packages/ui/src/tailwind.css b/packages/ui/src/tailwind.css index 753baa0aa..de9c5d51f 100644 --- a/packages/ui/src/tailwind.css +++ b/packages/ui/src/tailwind.css @@ -58,10 +58,10 @@ @apply w-full text-sm text-left rtl:text-right text-gray-500; thead { - @apply text-xs text-gray-700 uppercase bg-gray-50; + @apply text-xs uppercase bg-gray-50; th { - @apply px-6 py-3; + @apply px-6 py-3 text-gray-500 leading-[1.125rem]; } } @@ -83,3 +83,8 @@ } } } + +.wp-block-table table + figcaption, +.prose table + figcaption { + @apply mt-3 flex justify-center gap-x-2 text-sm leading-6 text-gray-500; +}