• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Themes & Styles Small problem with flex-wrap

     
    • 0 Vote(s) - 0 Average

    Small problem with flex-wrap

    Echtzeit
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #1
    2025-02-13, 07:51 PM
    Hi, I'm using this snippet to get rid of the scrolling:

    Code:
    @media all {
      .homePage .emby-scroller {
        margin-right: 0;
      }
      .homePage .emby-scrollbuttons {
        display: none;
      }
      .homePage .itemsContainer {
        flex-wrap: wrap;
      }
    }

    Here's the problem:

    with the latest version of the Jellyfin Media Player (it worked with a previous version, it's also not working in Edge), this cuts off one item on the right hand side of each section, where with the default settings one more was displayed.

    So the "Continue Watching" section for example has four instead of five items in a row, "Recently Added" eight instead of nine.


    Why? But more importantly, I'd like five items per row again with no scrolling.
    Echtzeit
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #2
    2025-03-22, 09:15 AM
    I've made screenshots to illustrate the issue.

    Here you can see five items in one row when flex wrap is disabled.

       

    And in this picture you can see only four items in a row with flex wrap enabled, even though there is enough space for five.

       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2025-03-22, 05:37 PM (This post was last modified: 2025-03-22, 05:40 PM by TheDreadPirate. Edited 2 times in total.)
    Did it behave differently before? The CSS you provided behaves identically in JMP 1.12 and in a Chromium browser.

    I tried Firefox to ensure that this isn't a Chromium based issue, and it also behaves the same. Four items in a row, but obviously space for a 5th. I'm assuming there is some sort of margin that is not accounted for.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Echtzeit
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:Germany
    #4
    2025-04-12, 04:17 PM
    (2025-03-22, 09:15 AM)Echtzeit Wrote: I've made screenshots to illustrate the issue.

    Here you can see five items in one row when flex wrap is disabled.



    And in this picture you can see only four items in a row with flex wrap enabled, even though there is enough space for five.

    Yes, there were five in a row. After one of the recent updates, I'm assuming the server, it changed. I'm using Edge and the Jellyfin Media Player for at least six months now and in both there were five in a row with this code.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode