mirror of
https://github.com/mayurankv/Obsidian-Code-Styler.git
synced 2026-07-22 08:10:29 +00:00
Fix scrolling in reading mode
This commit is contained in:
parent
24ec3d0df2
commit
2a5deb8396
2 changed files with 8 additions and 7 deletions
11
.github/TODO.md
vendored
11
.github/TODO.md
vendored
|
|
@ -3,11 +3,12 @@
|
|||
## Important
|
||||
|
||||
1. Sort header CSS logic properly - some small issues
|
||||
2. Add inline code styling
|
||||
3. Add codeblock outline and shadow (see Prism and other theme)
|
||||
4. Fix weird live preview scroll
|
||||
5. Change name to Code Styler
|
||||
6. Publish to obsidian plugins
|
||||
2. Add octave color and icon
|
||||
3. Add inline code styling
|
||||
4. Add codeblock outline and shadow (see Prism and other theme)
|
||||
5. Fix weird live preview scroll
|
||||
6. Change name to Code Styler
|
||||
7. Publish to obsidian plugins
|
||||
|
||||
## Not Urgent
|
||||
|
||||
|
|
|
|||
|
|
@ -316,10 +316,10 @@ pre.codeblock-styler-pre > code > div:only-child > [class^='codeblock-styler-lin
|
|||
pre.codeblock-styler-pre [class^='codeblock-styler-line-number'] {
|
||||
white-space: nowrap;
|
||||
width: var(--line-number-margin);
|
||||
flex-shrink: 0;
|
||||
flex-grow: 1;
|
||||
height: 100%;
|
||||
grid-column: 1;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
}
|
||||
pre.codeblock-styler-pre div:last-child > [class^='codeblock-styler-line-number'] {
|
||||
width: unset;
|
||||
|
|
|
|||
Loading…
Reference in a new issue