-
Notifications
You must be signed in to change notification settings - Fork 345
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
Horizontal scrolling instead of single column view #1127
Comments
Having spent some time with the client code, I'd say that there are no meta toggles for |
#1133 will allow you matching expanded item contents using |
Hi @niol Have you done anything in regards to that? |
I'm sorry but I do not understand what you are refering to. Please be more specific. |
I was trying to say that have you done any progress in regards to Horizontal scrolling instead of single column? |
I'm note sure why this was closed as it does not seem to be fixed. |
Sorry, should not have closed this. |
#1134 will use |
I was trying to implement an alternative to the single-column mode for long articles and imho more intuitive and magazine-like reading style for long articles: horizontal scrolling
This will look like this (kind of):
and the CSS is actually as easy as
-> the width of the columns is chosen arbitrarily for this example
There are a couple of caveats here, which I would like to discuss.
First of all,
.entry-content
must have aheight: 100%
or so (maybecalc(100% - 100px)
, whatever) and for this to work.entry
must have a defined height as well. That's the tricky part, because it must only have it while it is flipped open, and collapse if closed.Problem: in the current implementation
.entry
does not know whether it is flipped open or not.So I tried to add
parent.addClass('open');
to it after here andparent.removeClass('open');
after here and after hereThis seemed to work in the first place, but then I found that those toggles are not fired when using keyboard short cuts. So I was about to search for where those are implemented, but then figured that the resulting code would make this pretty messy.
So I wondered, whether there are some meta toggles somewhere in the code, where adding or removing
open
class would be more appropriate, or maybe this approach is completely stupid and people who know the code better than me may have a different suggestion on how to achieve horizontal scrolling for long articles. Maybe I should rather wait for upcoming v3, because all the code will be rewritten anyway? I don't know, so please discuss.The text was updated successfully, but these errors were encountered: