Beforeunload-Warnung + Vollbild-Button fuer Viewer
- beforeunload Event verhindert versehentliches Verlassen/Reload waehrend Broadcasting oder Viewing aktiv ist - Vollbild-Button im Viewer-Header (Fullscreen API) - Fullscreen-State wird korrekt getrackt und Icon wechselt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2ee36789b2
commit
3ef25fc10a
5 changed files with 109 additions and 51 deletions
|
|
@ -229,6 +229,28 @@
|
|||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.stream-viewer-header-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.stream-viewer-fullscreen {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: none;
|
||||
color: #fff;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: var(--radius);
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background var(--transition);
|
||||
}
|
||||
.stream-viewer-fullscreen:hover {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.stream-viewer-close {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue