changed favorites layout: columnized with horizontal scroll
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1408,22 +1408,27 @@ main[role="main"]{
|
|||||||
.documents{
|
.documents{
|
||||||
padding-top: 35px;
|
padding-top: 35px;
|
||||||
height:calc(100% - 35px);
|
height:calc(100% - 35px);
|
||||||
overflow-y: auto;
|
overflow-y: hidden;
|
||||||
overflow-x: hidden;
|
overflow-x: auto;
|
||||||
// box-sizing: content-box;
|
// box-sizing: content-box;
|
||||||
// outline: 1px solid green;
|
// outline: 1px solid green;
|
||||||
|
.item-list{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
ul,li{
|
ul,li{
|
||||||
margin:0; padding:0;
|
margin:0; padding:0;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
ul{
|
ul{
|
||||||
display: grid;
|
// display: grid;
|
||||||
grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
|
// grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
|
||||||
|
max-height: 100%;
|
||||||
|
display: inline-flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
li{
|
li{
|
||||||
// grid-auto-flow: row;
|
flex: 0 0 auto;
|
||||||
// display: inline-block; vertical-align: top;
|
|
||||||
// width:32%;
|
|
||||||
margin-bottom: 0.3em;
|
margin-bottom: 0.3em;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
>div{
|
>div{
|
||||||
|
|||||||
Reference in New Issue
Block a user