Skip to content

Commit 1889b52

Browse files
authored
Clean up flex docs (#1804)
1 parent 95acf83 commit 1889b52

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/pages/docs/flex.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Use `flex-initial` to allow a flex item to shrink but not grow, taking into acco
2626

2727
```html
2828
<div class="flex">
29-
<div class="flex-none w-14 h-14">
29+
<div class="flex-none w-14 ...">
3030
01
3131
</div>
3232
<div class="**flex-initial** w-64 ...">
@@ -52,7 +52,7 @@ Use `flex-1` to allow a flex item to grow and shrink as needed, ignoring its ini
5252

5353
```html
5454
<div class="flex">
55-
<div class="flex-none ...">
55+
<div class="flex-none w-14 ...">
5656
01
5757
</div>
5858
<div class="**flex-1** w-64 ...">
@@ -78,7 +78,7 @@ Use `flex-auto` to allow a flex item to grow and shrink, taking into account its
7878

7979
```html
8080
<div class="flex ...">
81-
<div class="flex-none ...">
81+
<div class="flex-none w-14 ...">
8282
01
8383
</div>
8484
<div class="**flex-auto** w-64 ...">
@@ -97,12 +97,12 @@ Use `flex-none` to prevent a flex item from growing or shrinking:
9797
```html {{ example: { resizable: true } }}
9898
<div class="flex gap-4 text-white text-sm font-bold font-mono leading-6 bg-stripes-indigo rounded-lg">
9999
<div class="flex-none last:pr-8 sm:last:pr-0">
100-
<div class="p-4 w-14 h-14 rounded-lg flex items-center justify-center bg-indigo-300 dark:bg-indigo-800 dark:text-indigo-400">
100+
<div class="p-4 w-14 h-14 rounded-lg flex items-center justify-center bg-indigo-500">
101101
01
102102
</div>
103103
</div>
104104
<div class="flex-none last:pr-8 sm:last:pr-0">
105-
<div class="p-4 w-72 rounded-lg flex items-center justify-center bg-indigo-500 shadow-lg">
105+
<div class="p-4 w-32 rounded-lg flex items-center justify-center bg-indigo-500 shadow-lg">
106106
02
107107
</div>
108108
</div>
@@ -116,10 +116,10 @@ Use `flex-none` to prevent a flex item from growing or shrinking:
116116

117117
```html
118118
<div class="flex ...">
119-
<div class="flex-none w-14 h-14 ...">
119+
<div class="**flex-none** w-14 ...">
120120
01
121121
</div>
122-
<div class="**flex-none** ...">
122+
<div class="**flex-none** w-32 ...">
123123
02
124124
</div>
125125
<div class="flex-1 ...">

0 commit comments

Comments
 (0)