changed favorites layout: columnized with horizontal scroll

This commit is contained in:
2020-01-22 15:20:19 +01:00
parent bd66c260fa
commit 4fcddebc73
2 changed files with 13 additions and 8 deletions
File diff suppressed because one or more lines are too long
@@ -1408,22 +1408,27 @@ main[role="main"]{
.documents{
padding-top: 35px;
height:calc(100% - 35px);
overflow-y: auto;
overflow-x: hidden;
overflow-y: hidden;
overflow-x: auto;
// box-sizing: content-box;
// outline: 1px solid green;
.item-list{
height: 100%;
}
ul,li{
margin:0; padding:0;
line-height: 1.2;
}
ul{
display: grid;
grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
// display: grid;
// grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
max-height: 100%;
display: inline-flex;
flex-direction: column;
flex-wrap: wrap;
}
li{
// grid-auto-flow: row;
// display: inline-block; vertical-align: top;
// width:32%;
flex: 0 0 auto;
margin-bottom: 0.3em;
white-space: nowrap;
>div{