prayag17 / JellySkin

Vibrante/minimal Jellyfin CSS using custom Icons and more!!, created for Jellyfin web :film_strip:, can be used by just one line.

Home Page:http://prayag17.github.io/JellySkin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: login page and content are cut-off

Dark3clipse opened this issue · comments

Describe the bug
The login page is unusable because it is cut off:
image

Also content renders in a broken state:
image

To Reproduce
Steps to reproduce the behavior:

  1. deploy jellyfin. I'm using:
image:
      repository: jellyfin/jellyfin
      tag: 20240104.7-unstable
      pullPolicy: IfNotPresent
  1. add css to jellyfin
    image

  2. modify nginx reverse proxy csp

add_header Content-Security-Policy "default-src https: data: blob: http://image.tmdb.org; style-src 'self' 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline' https://cdn.jsdelivr.net/npm/jellyskin@latest/dist/main.css https://cdn.jsdelivr.net/npm/jellyskin@latest/dist/logo.css https://fonts.googleapis.com/css2 https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons@latest/Font%20Awesome/light.min.css https://site-assets.fontawesome.com; script-src 'self' 'unsafe-inline' https://www.gstatic.com https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'; report-uri https://csp.example.org/report/csp/jellyfin; report-to csp-endpoint";

Expected behavior
The skin works, login renders properly, content renders properly.

Notes
Tested on both firefox and chromium on Arch.

content is cut-off only in firefox.

What jellyfin version are you on?

I am on this version: 20240104.7-unstable from docker hub:
https://hub.docker.com/r/jellyfin/jellyfin

I am still deploying so I can still choose another image/tag if needed.

I found a solution:

div#reactRoot {height: 100%;};

This fixes both issues for me

Unstable versions are not yet supported. Support for jf 10.9 will be added during RC release