Commit 7ea999a
committed
fix(styles): preserve img max-width when cleaning Tailwind defaults
- Prevent layout regressions by keeping Tailwind's img max-width
- Update regex to only strip height:auto instead of removing rule
- Replace matched block with cleaned rule so other props remain
- Rebuild dist artifacts: add hot-update file and update user script1 parent e23aa24 commit 7ea999a
3 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments