cyp/app/css/component.less

33 lines
405 B
Text
Raw Normal View History

2019-03-25 22:49:23 +08:00
.component {
height: 100%;
display: flex;
flex-direction: column;
2019-03-26 19:35:47 +08:00
ul {
flex-grow: 1;
overflow: auto;
list-style: none;
margin: 0;
padding: 0;
}
.grid {
li {
display: flex;
flex-direction: row;
h2 {
flex-grow: 1;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
li:nth-child(odd) {
background-color: #666;
}
}
}