mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-26 01:24:59 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user