Jump to content

Wrap around "Continue watching"


Go to solution Solved by Happy2Play,

Recommended Posts

Posted (edited)

Hi,

 

can someone help me to wrap around the "continue watching" icons on the home screen of the web app.

 

Thanks a lot!

 

EDIT: Sceenshot added!

screenshot.png

Edited by Multiverse
Happy2Play
Posted

With all the rows being "virtual-scroller" I don't think it is possible without modifying files.

Posted
Just now, Happy2Play said:

With all the rows being "virtual-scroller" I don't think it is possible without modifying files.

Yes, "Continue watching" is a side-scroller and I want to have it like "My Media".

Happy2Play
Posted

Looks like you have to edit the sectionscontroller.js to remove data-virtualscrolllayout="horizontal-grid" and add css "flex-wrap: wrap" to targets child element for your CW row.  As all code is getting to generic as sections are gone now.

  • Like 1
  • Solution
Happy2Play
Posted (edited)

So my case was remove data-virtualscrolllayout="horizontal-grid" from js file and add wrap to my specific child row as mine happened to be 3.

div.view-home-home .homeSectionsContainer div.verticalSections div:nth-child(3) div div.scrollSlider {flex-wrap: wrap;}

 

image.thumb.png.658358b17e9d90a2ca5731196c635256.png

 

To apply to all rows on Home edit the JS and use this css.

div.view-home-home .homeSectionsContainer div.verticalSections div div div.scrollSlider {flex-wrap: wrap;}

Also a minor edit to the emby-itemcontainer.js to change row item limits.

image.thumb.png.4df5f99a1762f6493515212882ecbed5.png

 

Edited by Happy2Play
expanded to Home page
Posted

Will this modification survive a server update?

Happy2Play
Posted
8 minutes ago, Multiverse said:

Will this modification survive a server update?

Sorry no you have to modify JS file with every update as dev moves it somewhere or changes things around with every major update.

Posted
1 minute ago, Happy2Play said:

Sorry no you have to modify JS file with every update as dev moves it somewhere or changes things around with every major update.

Thanks for all your support, I will wait for an official change!

GrimReaper
Posted
2 minutes ago, Multiverse said:

I will wait for an official change!

Why would you expect for it to be changed? 

Happy2Play
Posted

Really it has been in different areas since 4.6.

But as code changes and simplified it gets applied to more areas.  And we have to find other workarounds.

Personally try to remove all the horizontal scrollers and increase item limits to like three rows.

  • Agree 2
GrimReaper
Posted

Yeah, hence was curious why the OP expects it to be made official, it is more likely that it'll just become more convoluted and you'll need to find more imaginative workarounds. 

  • Agree 1
Posted
11 minutes ago, GrimReaper said:

Why would you expect for it to be changed? 

I don't expect something, it was my kind to say that I prefer a more stable solution. Modifying a file after every update isn't my way!

But I'm very thankful for your support!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...