diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index 903e4d95..046a9096 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -2700,8 +2700,8 @@ "loadingFiles": "Laden von Dateien", "localPanelHost": "Lokaler Panel-Host", "modified": "Geändert", - "nameAZ": "Nennen Sie A-Z", - "nameZA": "Nennen Sie Z-A", + "nameAZ": "Name A–Z", + "nameZA": "Name Z–A", "newFolder": "Neuer Ordner", "newName": "Neuer Name", "newest": "Neueste", diff --git a/frontend/src/styles/components/_design-system.scss b/frontend/src/styles/components/_design-system.scss index e4492db2..785a8fec 100644 --- a/frontend/src/styles/components/_design-system.scss +++ b/frontend/src/styles/components/_design-system.scss @@ -249,8 +249,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet'); &__body { display: contents; } &__icon, &__val, &__trend { grid-area: auto; grid-row: 1; } &__icon { grid-column: 1; } - &__val { grid-column: 2; } - &__trend { grid-column: 3; } + // Value sizes to its content (never ellipsized); the trend takes what is left. + grid-template-columns: auto auto minmax(0, 1fr); + &__val { grid-column: 2; overflow: visible; text-overflow: clip; } + &__trend { grid-column: 3; justify-self: end; } &__body > :not(.sk-kpi__val), &__spark { grid-area: auto; grid-column: 1 / -1; min-width: 0; } &__label { white-space: normal; @@ -259,12 +261,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet'); -webkit-line-clamp: 2; line-clamp: 2; } - &__sub { - flex-wrap: nowrap; - white-space: nowrap; - overflow: hidden; - > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; } - } + &__sub { > * { min-width: 0; overflow-wrap: anywhere; } } } } @@ -1878,7 +1875,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet'); &__title { display: inline-flex; align-items: center; gap: 6px; font-weight: $font-weight-semibold; font-size: $text-sm; color: var(--text); - overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + overflow: hidden; overflow-wrap: anywhere; + display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } &__open { max-width: 100%; @@ -1891,10 +1889,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet'); &:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } } - &__featured { flex-shrink: 0; color: var(--text-faint); fill: currentColor; } - &__sub { - overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } + &__featured { flex-shrink: 0; color: var(--text-faint); fill: currentColor; margin-inline-start: 6px; vertical-align: -1px; } + &__sub { overflow-wrap: anywhere; } &__tag { flex-shrink: 0; font-size: $text-xs; color: var(--text-faint); white-space: nowrap; } &__desc { margin: 0; diff --git a/frontend/src/styles/components/_requires-docker.scss b/frontend/src/styles/components/_requires-docker.scss index 27263a6f..2563b2b5 100644 --- a/frontend/src/styles/components/_requires-docker.scss +++ b/frontend/src/styles/components/_requires-docker.scss @@ -10,6 +10,8 @@ margin: 0 auto; padding: $space-8 $space-5; text-align: center; + box-sizing: border-box; + width: 100%; &__icon { color: $text-tertiary; diff --git a/frontend/src/styles/pages/_file-manager.scss b/frontend/src/styles/pages/_file-manager.scss index 7bc3e788..b6887f4f 100644 --- a/frontend/src/styles/pages/_file-manager.scss +++ b/frontend/src/styles/pages/_file-manager.scss @@ -394,8 +394,9 @@ $ft-default: #646b7a; } > span { - width: 78px; - min-width: 0; + width: auto; + min-width: 78px; + white-space: nowrap; text-align: start; } @@ -1852,7 +1853,7 @@ $drawer-width: 520px; .toolbar-left, .toolbar-right { width: 100%; justify-content: flex-start; } - .toolbar-right { flex-wrap: wrap; } + .toolbar-right { flex-wrap: wrap; gap: $space-1; } .search-field { order: -1; @@ -1862,9 +1863,10 @@ $drawer-width: 520px; } .file-toolbar-select { - flex: 1; + flex: 0 1 auto; - > span { width: 100%; } + > span { min-width: 0; } + > svg:not(.ui-select-icon) { display: none; } } .file-mount-chip { display: none; } diff --git a/frontend/src/styles/pages/_settings.scss b/frontend/src/styles/pages/_settings.scss index 5d127c62..6b694485 100644 --- a/frontend/src/styles/pages/_settings.scss +++ b/frontend/src/styles/pages/_settings.scss @@ -1430,7 +1430,7 @@ .theme-gallery-actions { display: flex; - flex-shrink: 0; + flex-wrap: wrap; gap: $space-2; }