Commit cde93f3
authored
fix: restore mobile sidebar width broken by Sass 1.101 cascade change (#21)
Sass >=1.101 emits declarations that follow a nested @media *after* the
bubbled media block, so .app-view__sidebar's base `min-width: 200px`
started overriding the `@media (max-width: 600px) { min-width: 250px }`.
The mobile sidebar shrank to 200px while the body still slid
translateX(-250px) to cover it, shifting the whole app 50px left on
iOS/narrow viewports (clipped category labels, broken category scroll).
Desktop has no media query and was unaffected.
Move the @media block after the base declarations so it wins the
cascade again.1 parent c37ffda commit cde93f3
1 file changed
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 20 | | |
34 | 21 | | |
35 | 22 | | |
| |||
45 | 32 | | |
46 | 33 | | |
47 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments