mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Keep top-bar visible
Fixes #1905191 [[Enhancement] Always keep the controls visible in the User Manual](https://bugs.launchpad.net/calibre/+bug/1905191)
This commit is contained in:
parent
b9209c4f3f
commit
a5a26bbe7a
@ -15,13 +15,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 876px) {
|
@media screen and (min-width: 876px) {
|
||||||
div.related { height: 25px; display: flex; align-items: center; }
|
div.related {
|
||||||
|
height: 3.5ex;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: fixed; top: 0
|
||||||
|
}
|
||||||
div.related > ul { flex-grow: 10; }
|
div.related > ul { flex-grow: 10; }
|
||||||
div.sphinxsidebar { overflow-y: auto; max-height: calc(100vh - 25px) }
|
div.sphinxsidebar { overflow-y: auto; max-height: calc(100vh - 25px) }
|
||||||
|
div.document { margin-top: 3.5ex; }
|
||||||
}
|
}
|
||||||
|
|
||||||
div.document, div.footer {
|
div.document, div.footer {
|
||||||
margin-top: 0px; /* remove whitespace above sidebar and title */
|
|
||||||
width: auto; /* fix horizontal scrollbar if screen is less that 940px */
|
width: auto; /* fix horizontal scrollbar if screen is less that 940px */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user