From 30e0186ddc77ee6043799010576dee4a8e1f93f9 Mon Sep 17 00:00:00 2001 From: lauramargar <114984466+lauramargar@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:38:12 +0200 Subject: [PATCH] fix(design-system): suggestion alignment in firefox (#1565) --- .../x-tailwind-plugin/components/suggestion-group/default.ts | 2 +- .../src/x-tailwind-plugin/components/suggestion/default.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion-group/default.ts b/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion-group/default.ts index 424b753c12..53358a2069 100644 --- a/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion-group/default.ts +++ b/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion-group/default.ts @@ -22,7 +22,7 @@ export function suggestionGroupDefault(helpers: TailwindHelpers) { gridTemplateColumns: 'auto [last-col]', gridAutoColumns: '1fr', justifyContent: 'flex-start', - alignItems: 'baseline', + alignItems: 'center', alignContent: 'center', paddingInlineStart: 0, diff --git a/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion/default.ts b/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion/default.ts index ed8bbf17b4..11ddec56f7 100644 --- a/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion/default.ts +++ b/packages/x-tailwindcss/src/x-tailwind-plugin/components/suggestion/default.ts @@ -16,7 +16,7 @@ export function suggestionDefault(helpers: TailwindHelpers) { display: 'grid', gridAutoFlow: 'column', - alignItems: 'baseline', + alignItems: 'center', alignContent: 'center', justifyContent: 'flex-start', boxSizing: 'border-box',