mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
Fixing sidebar overflow
This commit is contained in:
@ -559,7 +559,8 @@ a.nav__item:not(:last-child).active > span::after, a.nav__item:not(:last-child):
|
|||||||
transition: opacity 400ms, -webkit-transform 300ms;
|
transition: opacity 400ms, -webkit-transform 300ms;
|
||||||
transition: opacity 400ms, transform 300ms;
|
transition: opacity 400ms, transform 300ms;
|
||||||
transition: opacity 400ms, transform 300ms, -webkit-transform 300ms;
|
transition: opacity 400ms, transform 300ms, -webkit-transform 300ms;
|
||||||
padding: 2rem 2rem 2rem 0; }
|
padding: 2rem 2rem 2rem 0;
|
||||||
|
overflow-y: auto; }
|
||||||
@media (max-width: 991px) {
|
@media (max-width: 991px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
2
source/_static/css/main.min.css
vendored
2
source/_static/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -6,6 +6,7 @@
|
|||||||
background-color: $sidebar-bg;
|
background-color: $sidebar-bg;
|
||||||
transition: opacity 400ms, transform 300ms;
|
transition: opacity 400ms, transform 300ms;
|
||||||
padding: $content-padding-sm $content-padding-sm $content-padding-sm 0;
|
padding: $content-padding-sm $content-padding-sm $content-padding-sm 0;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
@include breakpoint-max(breakpoints(lg)) {
|
@include breakpoint-max(breakpoints(lg)) {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
Reference in New Issue
Block a user