Browse Source

Mobile scroll fixes

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v14.0.0beta2
John Molakvoæ (skjnldsv) 6 years ago
parent
commit
2be323d195
No account linked to committer's email address
2 changed files with 5 additions and 4 deletions
  1. 1
    2
      core/css/apps.scss
  2. 4
    2
      core/css/mobile.scss

+ 1
- 2
core/css/apps.scss 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 {

+ 4
- 2
core/css/mobile.scss 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;
}
}

Loading…
Cancel
Save