feat: add reset layout button to restore default panel sizes and order (#801)

Adds a "Reset Layout" button in Settings > Panels tab that clears all
saved panel heights, widths, map height, and ordering from localStorage,
then reloads to apply defaults. Includes i18n translations for all 19 locales.

Closes #797

Co-Authored-By: Vittorio Halfon <vittoriohalfon01@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vittorio Halfon
2026-03-02 22:41:32 +02:00
committed by GitHub
parent 023b618cc7
commit fadfe6ffd5
22 changed files with 58 additions and 0 deletions

View File

@@ -5712,6 +5712,27 @@ a.prediction-link:hover {
white-space: nowrap;
}
.panels-footer {
display: flex;
justify-content: flex-end;
padding-top: 8px;
}
.panels-reset-layout {
padding: 6px 12px;
background: var(--bg);
border: 1px solid var(--border);
color: var(--text);
font-family: inherit;
font-size: 10px;
cursor: pointer;
text-transform: uppercase;
}
.panels-reset-layout:hover {
border-color: var(--text-dim);
}
.sources-footer {
display: flex;
align-items: center;