Skip to content

Commit 35c34a2

Browse files
authored
fix: alignContent space-evenly (#143)
1 parent 96f5ce2 commit 35c34a2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/__tests__/vendor/tailwind/flexbox-grid.test.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -599,12 +599,12 @@ describe("Flexbox & Grid - Align Content", () => {
599599
});
600600
test("content-evenly", async () => {
601601
expect(await renderCurrentTest()).toStrictEqual({
602-
props: {},
603-
warnings: {
604-
values: {
605-
"align-content": "space-evenly",
606-
},
607-
},
602+
props: { style: { alignContent: "space-evenly" } },
603+
});
604+
});
605+
test("content-stretch", async () => {
606+
expect(await renderCurrentTest()).toStrictEqual({
607+
props: { style: { alignContent: "stretch" } },
608608
});
609609
});
610610
});

src/compiler/declarations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,6 +1828,7 @@ export function parseAlignContent(
18281828
"stretch",
18291829
"space-between",
18301830
"space-around",
1831+
"space-evenly",
18311832
]);
18321833

18331834
let value: string | undefined;

0 commit comments

Comments
 (0)