1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 06:44:35 +02:00

Fix dashboard example so that the sticky sidebar has scrollable content (#36608)

This commit is contained in:
Tech Vanity
2022-06-29 21:33:23 +05:00
committed by GitHub
parent 7f70fcab0f
commit d4aee02458
4 changed files with 2 additions and 8 deletions

View File

@@ -28,10 +28,7 @@ body {
}
.sidebar-sticky {
position: relative;
top: 0;
height: calc(100vh - 48px);
padding-top: .5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}