Match the import statistics skeleton and fix the Russian retry notice

The skeleton had four cells in five columns while the statistics have six;
it now inherits the statistics grid on every width. The Russian notice
after Retry promised that the tracks would be found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sanapachandClaude Opus 5.5 committed 2026-11-26 19:21:00 +02:00
1 parent 1ab0d3bf57
commit b6c2ec7b39
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -826,7 +826,7 @@ translations! {
player_import_number: "#{id}" , "№{id}";
player_import_playlists_more: "and {count} more" , "и ещё {count}";
player_import_retry_unmatched: "Retry unmatched" , "Искать ненайденные";
player_import_retry_started: "Unmatched tracks will be searched again." , "Ненайденные треки будут найдены заново.";
player_import_retry_started: "Unmatched tracks will be searched again." , "Поиск ненайденных треков запущен заново.";
player_import_cancel: "Cancel" , "Отменить";
player_import_cancel_requested: "The import stops after the current step. Added tracks stay." , "Импорт остановится после текущего шага. Добавленные треки останутся.";
player_import_delete_history: "Delete history" , "Удалить историю";
+1 -1
View File
@@ -88,7 +88,7 @@
<i class="skeleton-bar skeleton-title"></i>
<i class="skeleton-bar skeleton-byline"></i>
<div class="import-stats import-stats-skeleton">
{% for _ in 0..4 %}<div><i class="skeleton-bar"></i><i class="skeleton-bar"></i></div>{% endfor %}
{% for _ in 0..6 %}<div><i class="skeleton-bar"></i><i class="skeleton-bar"></i></div>{% endfor %}
</div>
</div>
{% include "player/skeleton_tracks.html" %}
+1 -2
View File
@@ -51,7 +51,7 @@
.import-stats dt, .import-stats small { color: var(--text-secondary); font-size: 12px; }
.import-stats dd { margin: 6px 0 0; font-size: clamp(18px, 2vw, 26px); font-weight: 650; font-variant-numeric: tabular-nums; }
.import-stats small { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.import-stats-skeleton { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
.import-stats-skeleton { margin-top: 18px; }
.import-stats-skeleton .skeleton-bar + .skeleton-bar { width: 50%; margin-top: 10px; height: 16px; }
.import-extra-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; color: var(--text-secondary); font-size: 13px; }
.import-extra-stats strong { color: var(--text-primary); font-variant-numeric: tabular-nums; }
@@ -115,7 +115,6 @@
@media (max-width: 760px) {
.import-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
.import-stats > div:nth-child(3n + 1) { border-left: 0; }
.import-stats-skeleton { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
.import-history-row { grid-template-columns: minmax(0, 1fr); }