feat(stats): add i18n support (#33693)

This commit is contained in:
Adam
2026-06-25 09:50:29 -05:00
committed by GitHub
parent c097d51135
commit 208cd56d03
29 changed files with 4902 additions and 442 deletions
+37
View File
@@ -661,6 +661,38 @@
gap: 24px;
}
[data-page="stats"] [data-slot="footer-controls"] {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
min-width: 0;
}
[data-page="stats"] [data-slot="footer-language"] {
display: inline-flex;
align-items: center;
gap: 8px;
min-width: 0;
color: var(--stats-muted);
font-size: 11px;
line-height: 1;
}
[data-page="stats"] [data-slot="footer-language"] select {
height: 24px;
min-width: 136px;
margin: 0;
padding: 0 8px;
border: 1px solid var(--stats-line);
border-radius: 0;
background: var(--stats-bg);
color: var(--stats-text);
font: inherit;
font-size: 11px;
line-height: 1;
}
[data-page="stats"] [data-slot="theme-toggle"] {
display: flex;
align-items: center;
@@ -3737,6 +3769,11 @@
[data-page="stats"] [data-slot="footer-bottom"] {
line-height: 1.5;
}
[data-page="stats"] [data-slot="footer-controls"] {
justify-content: flex-start;
flex-wrap: wrap;
}
}
@media (max-width: 47.999rem) {