mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-17 16:36:49 +00:00
fix(preview): keep the EPUB table-of-contents button clear of the header (#6010)
This commit is contained in:
parent
c05ead7e8e
commit
aac2516637
1 changed files with 7 additions and 0 deletions
|
|
@ -29,6 +29,13 @@
|
|||
|
||||
.epub-reader .tocButton {
|
||||
color: var(--text);
|
||||
/*
|
||||
* vue-reader positions the TOC toggle at top: 10px, which lands under the
|
||||
* fixed 4em header bar (see .header) — so clicks hit the header's Close
|
||||
* button instead of opening the table of contents. Push it just below the
|
||||
* header, tracking the header's height so it stays clear if that changes.
|
||||
*/
|
||||
top: calc(4em + 10px);
|
||||
}
|
||||
|
||||
.epub-reader .tocButton.tocButtonExpanded {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue