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

Sticky + Preloaded Themes #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LightDestory
Copy link

  • 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);
Copy link
Owner

@fuzetsu fuzetsu Jun 1, 2018

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',
Copy link
Owner

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.

@fuzetsu
Copy link
Owner

fuzetsu commented Jun 1, 2018

Thanks for the contribution, and sorry for the incredibly late review...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants