Commit 181a2e9
authored
🤖 Standardize Tailwind width utilities (#392)
Replaces custom/bespoke width values with standard Tailwind utilities
for consistency and maintainability.
## Changes
This PR systematically replaces all custom width values (e.g.,
`w-[300px]`) with their closest standard Tailwind utilities:
| Custom Value | Standard Utility | Actual Size |
|--------------|------------------|-------------|
| `w-[300px]` | `w-80` | 320px |
| `w-[400px]` | `w-96` | 384px |
| `w-[500px]` | `w-96` | 384px |
| `w-[280px]` | `w-72` | 288px |
| `w-[200px]` | `w-48` | 192px |
| `w-[180px]` | `w-44` | 176px |
| `w-[160px]` | `w-40` | 160px ✓ |
| `w-[150px]` | `w-36` | 144px |
| `w-[140px]` | `w-36` | 144px |
| `w-[45px]` | `w-11` | 44px |
| `w-[40px]` | `w-10` | 40px ✓ |
| `w-[35px]` | `w-9` | 36px |
| `w-[11px]` | `w-3` | 12px |
| `w-[10px]` | `w-2.5` | 10px ✓ |
| `w-[3px]` | `w-1` | 4px |
Also applies to `min-w-*` and `max-w-*` utilities.
## Benefits
- **Consistency**: Uses standard Tailwind naming conventions
- **Maintainability**: Easier to understand and modify
- **Design system**: Aligns with Tailwind's spacing scale
- **Autocomplete**: Better IDE support with standard utilities
## Impact
21 files modified with width utility standardization. All changes are
visual adjustments with slight rounding to nearest standard sizes
(typically within 8-16px).
_Generated with `cmux`_1 parent 099aa26 commit 181a2e9
File tree
21 files changed
+33
-33
lines changed- src
- components
- Messages
- RightSidebar/CodeReview
- tools
21 files changed
+33
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
704 | | - | |
| 704 | + | |
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
| 663 | + | |
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
| |||
0 commit comments