PGN-Panel + Cache-Busting: alle Runden immer frisch laden, Rundenerkennung bei jedem Refresh

This commit is contained in:
2026-05-24 18:03:09 +02:00
parent b337c92d77
commit df77f52a53
3 changed files with 131 additions and 24 deletions

View File

@@ -147,6 +147,55 @@ header h1 {
max-width: 500px;
}
#pgn-panel {
width: 100%;
max-width: 500px;
background: rgba(0, 0, 0, 0.3);
border-radius: 12px;
padding: 12px 16px;
}
.pgn-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
color: #e94560;
font-weight: bold;
font-size: 0.9rem;
}
#copy-pgn-btn {
background: rgba(255, 255, 255, 0.1);
border: none;
color: #ccc;
width: 32px;
height: 32px;
border-radius: 6px;
cursor: pointer;
font-size: 1rem;
transition: background 0.2s;
}
#copy-pgn-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
#pgn-text {
font-family: 'Courier New', monospace;
font-size: 0.78rem;
line-height: 1.5;
color: #aaa;
white-space: pre-wrap;
word-break: break-all;
max-height: 160px;
overflow-y: auto;
padding: 8px;
background: rgba(0, 0, 0, 0.4);
border-radius: 6px;
user-select: text;
}
/* Info Section */
#info-section {
flex: 0 0 380px;