style: fix navigation buttons to fixed positions in reader footer

This commit is contained in:
2026-05-07 20:34:56 +02:00
parent 0dad1cbd2b
commit 4e72c6457c
@@ -18,9 +18,11 @@
} }
.navigation-controls { .navigation-controls {
display: flex; display: grid;
grid-template-columns: 32px 1fr 32px;
align-items: center; align-items: center;
gap: 1rem; gap: 0.75rem;
width: 260px;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -51,18 +53,22 @@
.chapter-info { .chapter-info {
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
gap: 0.5rem; justify-content: center;
font-size: 0.85rem; min-width: 0;
color: #333; overflow: hidden;
white-space: nowrap;
} }
.chapter-title { .chapter-title {
font-weight: 600; font-weight: 600;
max-width: 180px; font-size: 0.75rem;
max-width: 100%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
line-height: 1.2;
} }
.chapter-count { .chapter-count {