Commit 6e8c6e9
committed
fix: allow preview panel to reach phone aspect ratio on mobile
- Set code-wrap min-height to 120px so it can shrink further when
the user drags the preview taller
- Increase resizable maxHeight from 70% to 80% to accommodate a
phone-like aspect ratio in the preview panel1 parent 9f6ddfc commit 6e8c6e9
File tree
2 files changed
+3
-3
lines changed- src/example-preview/components
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments