Mobile scroll fixes

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-07-30 12:02:45 +02:00
parent 3de1eb480e
commit 2be323d195
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
2 changed files with 5 additions and 4 deletions

View File

@ -589,7 +589,6 @@ kbd {
display: flex;
// padding is included in height
padding-top: $header-height;
overflow-y: auto;
min-height: 100%;
}
@ -617,7 +616,7 @@ kbd {
align-items: stretch;
/* CONTENT DETAILS AFTER LIST*/
.app-content-detail {
.app-content-details {
/* grow full width */
flex-grow: 1;
#app-navigation-toggle-back {

View File

@ -37,12 +37,14 @@
.app-content-list {
background: var(--color-main-background);
flex: 1 1 100%;
+ .app-content-detail {
// make full height scroll since app-content-details is hidden
max-height: unset;
+ .app-content-details {
display: none;
}
&.showdetails {
display: none;
+ .app-content-detail {
+ .app-content-details {
display: initial;
}
}