video settings: hide the music-library picker on the video side
Video side was showing both the Music Library selector and the new Movies/TV selectors. The music-library picker is irrelevant there (the Movies/TV mapping replaces it), so hide it on the video side — music side is unchanged.
This commit is contained in:
parent
41f6558c2d
commit
7c8f06f427
2 changed files with 10 additions and 1 deletions
|
|
@ -202,7 +202,9 @@ def test_video_library_mapping_ui_present_and_video_only():
|
||||||
assert 'data-video-lib-select="tv"' in _INDEX
|
assert 'data-video-lib-select="tv"' in _INDEX
|
||||||
assert "data-video-only" in _INDEX
|
assert "data-video-only" in _INDEX
|
||||||
css = _CSS_PATH.read_text(encoding="utf-8")
|
css = _CSS_PATH.read_text(encoding="utf-8")
|
||||||
assert 'body[data-side="music"] [data-video-only]' in css # hidden on music side
|
assert 'body[data-side="music"] [data-video-only]' in css # video bits hidden on music side
|
||||||
|
# ...and the music-library picker is hidden on the video side.
|
||||||
|
assert 'body[data-side="video"] #plex-library-selector-container' in css
|
||||||
|
|
||||||
|
|
||||||
def test_video_settings_module_referenced_and_isolated():
|
def test_video_settings_module_referenced_and_isolated():
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,13 @@ body[data-side="video"][data-video-page="video-settings"] #video-page-host {
|
||||||
body[data-side="music"] [data-video-only] {
|
body[data-side="music"] [data-video-only] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
/* Conversely, the music-library picker is irrelevant on the video side — hide
|
||||||
|
it there (the Movies/TV mapping is its replacement). */
|
||||||
|
body[data-side="video"] #plex-library-selector-container,
|
||||||
|
body[data-side="video"] #jellyfin-library-selector-container,
|
||||||
|
body[data-side="video"] #navidrome-folder-selector-container {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Dashboard header: match music, minus the sweep animation ──────────── */
|
/* ── Dashboard header: match music, minus the sweep animation ──────────── */
|
||||||
/* The header reuses music's .dashboard-header markup/CSS for an identical look;
|
/* The header reuses music's .dashboard-header markup/CSS for an identical look;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue