Browse Source
Fix default flex shrink on list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/11368/head
John Molakvoæ (skjnldsv)
8 years ago
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
2 changed files with
4 additions and
2 deletions
-
core/css/apps.scss
-
core/css/mobile.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 { |
|
|
|
|
|
|
|
@ -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; |
|
|
|
} |
|
|
|
|