fix(reader): improve header layout and responsiveness in the reader (#1415)

This commit is contained in:
brios
2026-05-22 15:54:56 +01:00
committed by GitHub
parent 4980391cae
commit b210265599
@@ -103,20 +103,28 @@ $transition-fast: 150ms ease;
transform: translateY(-100%);
}
.header-left,
.header-left {
display: flex;
align-items: center;
gap: 2px;
z-index: 1;
flex: 1 1 0%;
min-width: max-content;
}
.header-right {
display: flex;
align-items: center;
gap: 2px;
z-index: 1;
flex-shrink: 0;
flex: 1 1 0%;
justify-content: flex-end;
min-width: max-content;
}
.book-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
max-width: 40%;
flex: 0 1 auto;
min-width: 0;
padding: 0 12px;
text-align: center;
font-size: 14px;