Repository navigation
Commit ccbce24
committed
fix: hide per-line scrollbars of unwrapped code blocks in editing mode
Chromium ignores ::-webkit-scrollbar styles when scrollbar-color or
scrollbar-width is not auto. Obsidian sets scrollbar-color on
body:not(.styled-scrollbars), which every line inherits, so the
per-line scrollbars of unwrapped code blocks were still shown.
Add scrollbar-width: none to hide them.1 parent 8cc7e84 commit ccbce24
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1481 | 1481 | | |
1482 | 1482 | | |
1483 | 1483 | | |
| 1484 | + | |
| 1485 | + | |
1484 | 1486 | | |
1485 | 1487 | | |
1486 | 1488 | | |
| |||
0 commit comments