Merge pull request #11368 from nextcloud/content-list-flex-fixes
Fix default flex shrink on list
This commit is contained in:
commit
768047615f
|
@ -1066,7 +1066,7 @@ $popovericon-size: 16px;
|
||||||
|
|
||||||
/* CONTENT LIST ------------------------------------------------------------ */
|
/* CONTENT LIST ------------------------------------------------------------ */
|
||||||
.app-content-list {
|
.app-content-list {
|
||||||
width: 300px;
|
max-width: 300px;
|
||||||
@include position('sticky');
|
@include position('sticky');
|
||||||
top: $header-height;
|
top: $header-height;
|
||||||
border-right: 1px solid var(--color-border);
|
border-right: 1px solid var(--color-border);
|
||||||
|
@ -1077,7 +1077,7 @@ $popovericon-size: 16px;
|
||||||
max-height: calc(100vh - #{$header-height});
|
max-height: calc(100vh - #{$header-height});
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
flex: 0 0 300px;
|
flex: 0 1 300px;
|
||||||
|
|
||||||
/* Default item */
|
/* Default item */
|
||||||
.app-content-list-item {
|
.app-content-list-item {
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
flex: 1 1 100%;
|
flex: 1 1 100%;
|
||||||
// make full height scroll since app-content-details is hidden
|
// make full height scroll since app-content-details is hidden
|
||||||
max-height: unset;
|
max-height: unset;
|
||||||
|
// ignore 300px default max width
|
||||||
|
max-width: 100%;
|
||||||
+ .app-content-details {
|
+ .app-content-details {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue