Commit c2224b0
authored
svelte: Fix
The production build (via Vite) un-nests CSS nesting into flat rules.
On Firefox mobile, `border-bottom: none` in a `max-width` media query
failed to override the base `border-bottom` declaration, causing
visible horizontal borders between tabs in the mobile layout.
Instead of setting `border-bottom` as a default and overriding it with
`none` on mobile, each layout now only sets the borders it needs via
complementary `min-width`/`max-width` media queries.NavTabs border rendering on Firefox mobile (#12910)1 parent fb84acf commit c2224b0
2 files changed
Lines changed: 19 additions & 14 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
38 | 32 | | |
39 | 33 | | |
40 | 34 | | |
41 | | - | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
47 | | - | |
48 | 40 | | |
49 | 41 | | |
50 | 42 | | |
| |||
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
65 | | - | |
66 | | - | |
| 71 | + | |
67 | 72 | | |
68 | | - | |
69 | 73 | | |
70 | | - | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
0 commit comments