From b38b588d8c4f414b3362c3b80ae78bfe7e38dbaa Mon Sep 17 00:00:00 2001 From: Pavlo Huk Date: Sun, 31 Aug 2025 00:07:35 +0300 Subject: [PATCH] fix: alignContent space-evenly --- src/__tests__/vendor/tailwind/flexbox-grid.test.tsx | 12 ++++++------ src/compiler/declarations.ts | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/__tests__/vendor/tailwind/flexbox-grid.test.tsx b/src/__tests__/vendor/tailwind/flexbox-grid.test.tsx index 50df19af..b73d6648 100644 --- a/src/__tests__/vendor/tailwind/flexbox-grid.test.tsx +++ b/src/__tests__/vendor/tailwind/flexbox-grid.test.tsx @@ -599,12 +599,12 @@ describe("Flexbox & Grid - Align Content", () => { }); test("content-evenly", async () => { expect(await renderCurrentTest()).toStrictEqual({ - props: {}, - warnings: { - values: { - "align-content": "space-evenly", - }, - }, + props: { style: { alignContent: "space-evenly" } }, + }); + }); + test("content-stretch", async () => { + expect(await renderCurrentTest()).toStrictEqual({ + props: { style: { alignContent: "stretch" } }, }); }); }); diff --git a/src/compiler/declarations.ts b/src/compiler/declarations.ts index 2ed3b745..66fb1df1 100644 --- a/src/compiler/declarations.ts +++ b/src/compiler/declarations.ts @@ -1828,6 +1828,7 @@ export function parseAlignContent( "stretch", "space-between", "space-around", + "space-evenly", ]); let value: string | undefined;