Skip to content
Merged
Prev Previous commit
Next Next commit
Fixed sticky controls
since controls are not directly into the scollable element (app-content)
we need to make the parent the scrollable element (app-content-files)

Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv authored and MorrisJobke committed Jul 20, 2018
commit fe6f444928bd9b1f4dd2df82ef8ee7fb2b40aa5d
4 changes: 4 additions & 0 deletions apps/files/css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
min-height: 0%;
}

#app-content > [id^='app-content-'] {
max-height: calc(100vh - $header-height);
}

.app-files #app-content {
transition: background-color 0.3s ease;
overflow-x: hidden;
Expand Down