dev: Handled some edge-cases for the previous commit (756e4a181b)

This commit is contained in:
lscambo13
2025-12-31 20:05:44 +05:30
parent 756e4a181b
commit a1eb5af67d

View File

@@ -1091,11 +1091,6 @@ body {
font-size: 1.5rem !important; font-size: 1.5rem !important;
} }
.sectionTitleContainer-cards {
padding-top: 0;
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;
@@ -2970,14 +2965,26 @@ div[data-role="controlgroup"] a.ui-btn-active {
color: white !important; color: white !important;
} }
.sectionTitleContainer-cards {
padding-top: 0;
margin: 0.75em 0 -0.75em 0;
}
.sectionTitleTextButton > * { .sectionTitleTextButton > * {
text-align: left; text-align: left;
padding: 0.3em 0; /* !important are needed for proper alignment on phones */
/* margin: 0 0 !important; */ padding: 0.3em 0 !important;
margin: 0 0 !important;
/* this prevents long library names from breaking into another line */ /* this prevents long library names from breaking into another line */
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
max-width: 88vw;
}
/* this is needed for alignment of non-clickable section headings on phones */
.layout-mobile div > .sectionTitle-cards {
margin: 0.75em 0 -0.75em 0 !important;
} }
.dashboardSection .sectionTitleTextButton > .material-icons, .dashboardSection .sectionTitleTextButton > .material-icons,