-
Notifications
You must be signed in to change notification settings - Fork 61
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
Sticky + Preloaded Themes #32
base: master
Are you sure you want to change the base?
Conversation
LightDestory
commented
Apr 15, 2018
- Added sticky property to navigator
- Removed double navigator, now it is sticky
- Added the possibility to add hard-codded defaults themes
- Added Webtoon theme
Added sticky property to navigator Removed double navigator, now it is sticky Added the possibility to add hard-codded defaults themes Added Webtoon theme
@@ -1810,6 +1859,7 @@ var getViewer = function(prevChapter, nextChapter) { | |||
var settings = '<table><tr><td>'; | |||
// Custom CSS | |||
var cssProfiles = storeGet('ml-setting-css-profiles'); | |||
preloadProfiles(cssProfiles); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This call needs to be after the following if
that creates the default profile or it will crash on a fresh install (since cssProfiles
will be undefined).
@@ -1571,6 +1616,10 @@ var getViewer = function(prevChapter, nextChapter) { | |||
'z-index': '100', | |||
'position': 'relative' | |||
}, '.ml-counter'), | |||
navdivCss = toStyleStr({ | |||
'position': 'sticky', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how I feel about the sticky nav, it overlaps the image and kind of distracts a bit.
Thanks for the contribution, and sorry for the incredibly late review... |