Skip to content

Commit 3b5e1b9

Browse files
Fix order-first and order-last in the docs (#2340)
The order-first/last utilities were changed to use `9999` instead of infinity because of FF: tailwindlabs/tailwindcss#16266 Closes #2338
1 parent 09b9ed9 commit 3b5e1b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/order.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export const description = "Utilities for controlling the order of flex and grid
1010
rows={[
1111
["order-<number>", "order: <number>;"],
1212
["-order-<number>", "order: calc(<number> * -1);"],
13-
["order-first", "order: calc(-infinity);"],
14-
["order-last", "order: calc(infinity);"],
13+
["order-first", "order: -9999;"],
14+
["order-last", "order: 9999;"],
1515
["order-none", "order: 0;"],
1616
["order-(<custom-property>)", "order: var(<custom-property>);"],
1717
["order-[<value>]", "order: <value>;"],

0 commit comments

Comments
 (0)