Nightly: Containerbreite auf mindestens 90% des Monitors erweitert (data-build=nightly)

This commit is contained in:
vibe-bot 2025-08-09 10:58:36 +02:00
parent 2b2349491d
commit 5694a9ec73
2 changed files with 11 additions and 0 deletions

View file

@ -89,6 +89,11 @@ export default function App() {
// Theme anwenden/persistieren // Theme anwenden/persistieren
useEffect(() => { useEffect(() => {
document.body.setAttribute('data-theme', theme); document.body.setAttribute('data-theme', theme);
if (import.meta.env.VITE_BUILD_CHANNEL === 'nightly') {
document.body.setAttribute('data-build', 'nightly');
} else {
document.body.removeAttribute('data-build');
}
localStorage.setItem('theme', theme); localStorage.setItem('theme', theme);
}, [theme]); }, [theme]);

View file

@ -303,6 +303,12 @@ body {
.container { width: 90vw; max-width: 1800px; margin: 0 auto; padding: 28px; } .container { width: 90vw; max-width: 1800px; margin: 0 auto; padding: 28px; }
/* Nightly Build: volle Breite (mind. 90% der Anzeige), kein max-width-Limit */
[data-build="nightly"] .container {
width: 90vw;
max-width: none;
}
/* Neuer Header-Style basierend auf Google Stitch Design */ /* Neuer Header-Style basierend auf Google Stitch Design */
header { header {
display: flex; display: flex;