From 756e4a181b6cbedb4aced19a2e020a35f662b185 Mon Sep 17 00:00:00 2001 From: lscambo13 Date: Tue, 30 Dec 2025 23:08:46 +0530 Subject: [PATCH] Fix: Prevented long section headings from breaking into another line on the homepage on phones --- Theme/ElegantFin-theme-nightly.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Theme/ElegantFin-theme-nightly.css b/Theme/ElegantFin-theme-nightly.css index 311c172..0752b8a 100644 --- a/Theme/ElegantFin-theme-nightly.css +++ b/Theme/ElegantFin-theme-nightly.css @@ -1096,11 +1096,6 @@ body { margin: 0.75em 0 -0.75em 0; } -.layout-mobile :not(.sectionTitleContainer-cards) > .sectionTitle-cards { - text-align: left; - margin: 0.75em 0 -0.75em 0; -} - .emby-scrollbuttons, [dir="ltr"] .emby-scrollbuttons { padding-top: 1.25em; @@ -2976,8 +2971,13 @@ div[data-role="controlgroup"] a.ui-btn-active { } .sectionTitleTextButton > * { - padding: 0.3em 0 !important; - margin: 0 0 !important; + text-align: left; + padding: 0.3em 0; + /* margin: 0 0 !important; */ + /* this prevents long library names from breaking into another line */ + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; } .dashboardSection .sectionTitleTextButton > .material-icons,