mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Some more scroll fixes.
This commit is contained in:
parent
9d35ce5fe1
commit
fd215280a8
2 changed files with 16 additions and 15 deletions
|
@ -38,8 +38,8 @@ define [
|
|||
# footer. So we now start to track to the bottom of the window, with a 25px padding
|
||||
# since the footer is hidden below the fold. Don't ever get bigger than the sidebar
|
||||
# though since that's what triggered this happening in the first place.
|
||||
if height < sideBarHeight
|
||||
height = Math.min(sideBarHeight, $window.innerHeight - topOffset - 25)
|
||||
# if height < sideBarHeight
|
||||
# height = Math.min(sideBarHeight, $window.innerHeight - topOffset - 25)
|
||||
$scope.projectListHeight = height
|
||||
|
||||
|
||||
|
|
|
@ -18,44 +18,45 @@
|
|||
}
|
||||
|
||||
.project-list-page {
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// flex-grow: 1;
|
||||
position: absolute;
|
||||
top: @header-height;
|
||||
bottom: @footer-height;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: 100%;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.project-list-content when (@is-overleaf = true) {
|
||||
.project-list-content when (@is-overleaf) {
|
||||
.container-fluid;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.project-list-content when (@is-overleaf = false) {
|
||||
.container;
|
||||
}
|
||||
|
||||
.project-list-content {
|
||||
height: 100%;
|
||||
}
|
||||
// .project-list-content when (@is-overleaf) {
|
||||
// height: 100%;
|
||||
// }
|
||||
|
||||
// .project-list-content when (@is-overleaf = false) {
|
||||
// overflow: scroll;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
.sidebar-new-proj-btn when (@is-overleaf) {
|
||||
.btn-block;
|
||||
}
|
||||
|
||||
.project-list-row {
|
||||
.project-list-row when (@is-overleaf) {
|
||||
height: 100%;
|
||||
}
|
||||
.project-list-container {
|
||||
.project-list-container when (@is-overleaf) {
|
||||
height: 100%;
|
||||
}
|
||||
.project-list-content when (@is-overleaf = false) {
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.project-list-sidebar {
|
||||
background-color: @sidebar-bg;
|
||||
padding-top: @content-margin-top;
|
||||
|
|
Loading…
Reference in a new issue