style: Consolidate update banner styles and add theme support

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2025-12-27 18:15:22 +00:00
parent 987c401dc4
commit 8bf33e2d45
5 changed files with 49 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ function App() {
return (
<div className={theme}>
{waitingWorker &&
<div style={{padding: 10, backgroundColor: '#ffffcc', color: '#000'}}>
<div className='update-banner'>
Client version mismatch, please refresh:{' '}
<button onClick={() => {
waitingWorker.postMessage({ type: 'SKIP_WAITING' });