From 0ee72d4b1ac99933061edb1bf3f40c92ea83b77d Mon Sep 17 00:00:00 2001 From: Laura Martinez Garcia Date: Mon, 19 Aug 2024 11:47:19 +0200 Subject: [PATCH] fix: revert facets alignment and implement another approach --- .../x-tailwind-plugin/components/facet-filter/default.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/x-tailwindcss/src/x-tailwind-plugin/components/facet-filter/default.ts b/packages/x-tailwindcss/src/x-tailwind-plugin/components/facet-filter/default.ts index 9dd6b9053d..d3bd1dfdae 100644 --- a/packages/x-tailwindcss/src/x-tailwind-plugin/components/facet-filter/default.ts +++ b/packages/x-tailwindcss/src/x-tailwind-plugin/components/facet-filter/default.ts @@ -12,9 +12,9 @@ export function facetFilterDefault(helpers: TailwindHelpers) { const { theme } = helpers; return { - display: 'flex', - flexDirection: 'row', - alignItems: 'baseline', + display: 'grid', + gridAutoFlow: 'column', + alignItems: 'last baseline', alignContent: 'center', justifyContent: 'start', boxSizing: 'border-box',