Fix: Prevented long section headings from breaking into another line on the homepage on phones

This commit is contained in:
lscambo13
2025-12-30 23:08:46 +05:30
parent a3e52a43de
commit 756e4a181b

View File

@@ -1096,11 +1096,6 @@ body {
margin: 0.75em 0 -0.75em 0; 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, .emby-scrollbuttons,
[dir="ltr"] .emby-scrollbuttons { [dir="ltr"] .emby-scrollbuttons {
padding-top: 1.25em; padding-top: 1.25em;
@@ -2976,8 +2971,13 @@ div[data-role="controlgroup"] a.ui-btn-active {
} }
.sectionTitleTextButton > * { .sectionTitleTextButton > * {
padding: 0.3em 0 !important; text-align: left;
margin: 0 0 !important; 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, .dashboardSection .sectionTitleTextButton > .material-icons,