mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge e66e4b1360
into 8d4d394dad
This commit is contained in:
commit
4f78fb1ee3
@ -35,8 +35,9 @@
|
||||
color: $black
|
||||
&.shift-up
|
||||
height: auto
|
||||
max-height: 100%
|
||||
overflow-y: scroll
|
||||
max-height: calc(100vh - 50px)
|
||||
overflow-y: auto
|
||||
overscroll-behavior: contain
|
||||
&.shift-up .rst-other-versions
|
||||
display: block
|
||||
.rst-other-versions
|
||||
@ -62,7 +63,7 @@
|
||||
font-weight: bold
|
||||
&.rst-badge
|
||||
width: auto
|
||||
bottom: 20px
|
||||
bottom: 50px
|
||||
right: 20px
|
||||
left: auto
|
||||
border: none
|
||||
@ -76,6 +77,8 @@
|
||||
line-height: 30px
|
||||
&.shift-up .rst-current-version
|
||||
text-align: right
|
||||
position: sticky
|
||||
top: 0
|
||||
.fa-book
|
||||
float: left
|
||||
.icon-book
|
||||
|
Loading…
Reference in New Issue
Block a user