• Victor@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    That’s so odd. This is YouTube, right?

    I wonder what makes this happen. Which browser is this? Independent of browser?

    • a baby duck@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      3 months ago

      Honestly, it just looks like a content blocker dropped some ads from the grid and there are either leftover containers or some CSS that’s expecting elements to be in a specific order.

    • reddig33@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      3 months ago

      What made this happen? Shitty programming stuffed to the gills with unnecessary frameworks, JavaScript tracking nonsense and code spread among multiple servers all trying to render a simple grid of video thumbnails.

      I don’t blame the programmers as much as the marketing droids that have ruined the internet at this point.

      • kamenLady.@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        3 months ago

        I think this one is more on the YouTubers.

        I build this kind of grid for customers and it’s almost always the same problem.

        Users will upload images with white borders, some more, others less.

        Without inspecting the code i can only assume, this could also be, like you said, conflicting frameworks, where their CSS keeps fighting each other for display supremacy.

        Edit: i think you’re right, this looks like the failed attempt to add 40px margin every x amount of cards, while trying to match the needed margin for a new row.

        A forgotten media query, it still has the margins from the 5 col grid for the bigger screen