Skip to content

Commit fd205c5

Browse files
authored
fix: fix inconsistent min-width fraction example (#2252)
The example in min-width.mdx shows min-w-1/3 in the UI but uses min-w-3/4 in the HTML example. This commit updates the UI example to correctly display min-w-3/4 to match the HTML code.
1 parent 7c7efcf commit fd205c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/min-width.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Use `min-w-full` or `min-w-<fraction>` utilities like `min-w-1/2` and `min-w-2/5
8888
{
8989
<div className="relative mx-auto my-6 flex w-full justify-items-start gap-3 text-center font-mono text-xs font-bold text-white">
9090
<Stripes border className="absolute inset-x-0 -inset-y-3 rounded-lg" />
91-
<div className="relative min-w-2/3 rounded-lg bg-indigo-500 px-4 py-2">min-w-1/3</div>
91+
<div className="relative min-w-2/3 rounded-lg bg-indigo-500 px-4 py-2">min-w-3/4</div>
9292
<div className="relative w-full rounded-lg bg-indigo-300 px-4 py-2 dark:bg-indigo-800 dark:text-indigo-400">
9393
w-full
9494
</div>

0 commit comments

Comments
 (0)