diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-25 10:36:46 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-25 10:36:46 +0200 |
commit | 7a8b260c27f941291b92a071642da493475da5ef (patch) | |
tree | d5843511582c6bad43742eead3f2ddb07058c221 /core | |
parent | 50a280338e22f34e66f03c1c069fffbf32c912b2 (diff) | |
download | nextcloud-server-7a8b260c27f941291b92a071642da493475da5ef.tar.gz nextcloud-server-7a8b260c27f941291b92a071642da493475da5ef.zip |
Fix default flex shrink on list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 4 | ||||
-rw-r--r-- | core/css/mobile.scss | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index 913e445f5bf..f294f8aa512 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -1066,7 +1066,7 @@ $popovericon-size: 16px; /* CONTENT LIST ------------------------------------------------------------ */ .app-content-list { - width: 300px; + max-width: 300px; @include position('sticky'); top: $header-height; border-right: 1px solid var(--color-border); @@ -1077,7 +1077,7 @@ $popovericon-size: 16px; max-height: calc(100vh - #{$header-height}); overflow-y: auto; overflow-x: hidden; - flex: 0 0 300px; + flex: 0 1 300px; /* Default item */ .app-content-list-item { diff --git a/core/css/mobile.scss b/core/css/mobile.scss index 44660e44c33..e4a4f53367b 100644 --- a/core/css/mobile.scss +++ b/core/css/mobile.scss @@ -39,6 +39,8 @@ flex: 1 1 100%; // make full height scroll since app-content-details is hidden max-height: unset; + // ignore 300px default max width + max-width: 100%; + .app-content-details { display: none; } |