diff --git a/.github/TODO.md b/.github/TODO.md index c065307..c751c53 100644 --- a/.github/TODO.md +++ b/.github/TODO.md @@ -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 diff --git a/styles.css b/styles.css index 9e478b8..adf5db5 100644 --- a/styles.css +++ b/styles.css @@ -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;