Refresh-Button neben Version in Header

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel 2026-03-08 20:30:08 +01:00
parent e1860cbd99
commit e3ad35fbc7
2 changed files with 24 additions and 0 deletions

View file

@ -188,6 +188,13 @@ export default function App() {
<span className="hub-download-label">Desktop App</span>
</a>
)}
<button
className="hub-refresh-btn"
onClick={() => window.location.reload()}
title="Seite neu laden"
>
{'\u{1F504}'}
</button>
<span
className="hub-version hub-version-clickable"
onClick={() => {

View file

@ -336,6 +336,23 @@ html, body {
max-width: 300px;
}
/* ── Refresh Button ── */
.hub-refresh-btn {
background: none;
border: none;
color: var(--text-muted);
font-size: 1rem;
cursor: pointer;
padding: 4px 6px;
border-radius: var(--radius);
transition: all var(--transition);
line-height: 1;
}
.hub-refresh-btn:hover {
color: var(--accent);
background: rgba(230, 126, 34, 0.1);
}
/* ── Version Info Modal ── */
.hub-version-clickable {
cursor: pointer;