Commit 8e48ca1
Michael Hobl
fix(layout): viewport hard-bound to 100vh + DOM-level scrollbar dedup — Page root switches from min-height:100vh to height:100vh + overflow:hidden so no child can ever push the document past the viewport (the old 'slightly too tall' was the flex floor + cumulative gap pushing past min-height). main is flex:1 0; min-height:0; overflow:hidden so the editor card shrinks under tight viewports instead of forcing the page to grow. Scrollbar dedup: Monaco's updateOptions() on the inner editors gets re-asserted (so the original-side scrollbar kept reappearing) — drop the JS approach and hide the original pane's .scrollbar.vertical + .decorationsOverviewRuler via raw global CSS instead. Edit pill on the right pane moved from right:16px to right:36px so it clears the 8px scrollbar and the ~14px overview ruler without overlapping. Left-pane pill shifted hair to right:calc(50%+14px) to match
1 parent 7077a96 commit 8e48ca1
2 files changed
Lines changed: 34 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
419 | 436 | | |
420 | 437 | | |
421 | 438 | | |
| |||
460 | 477 | | |
461 | 478 | | |
462 | 479 | | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
| 480 | + | |
| 481 | + | |
468 | 482 | | |
469 | 483 | | |
470 | | - | |
471 | | - | |
472 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
473 | 488 | | |
474 | 489 | | |
475 | 490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
189 | 193 | | |
190 | | - | |
191 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
192 | 197 | | |
193 | 198 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
201 | | - | |
| 202 | + | |
202 | 203 | | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
208 | | - | |
| 210 | + | |
209 | 211 | | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
0 commit comments