Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish cleaning up CSS from move to CSS variables for colors #3028

Merged
merged 16 commits into from
Oct 1, 2021
Merged
Prev Previous commit
Next Next commit
Fix markdown highlighting
  • Loading branch information
sandymcfadden committed Sep 29, 2021
commit 28d6df4d00fce4b5e2e62419dbc0924510f1e766
7 changes: 6 additions & 1 deletion lib/note-detail/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@
}
}

.note-detail-markdown {
body[data-theme='light'] .note-detail-markdown {
@import '../node_modules/highlight.js/scss/solarized-light.scss';
}
body[data-theme='dark'] .note-detail-markdown {
@import '../node_modules/highlight.js/scss/solarized-dark.scss';
}

.note-detail-markdown {
overflow: visible;
-webkit-overflow-scrolling: touch;

Expand Down