1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 06:11:16 +00:00

Code optimized (#2388)

This commit is contained in:
shanshuirenjia
2018-09-21 14:16:15 +08:00
committed by Daniel Pan
parent 6b62d3e653
commit 490a15deed
34 changed files with 306 additions and 318 deletions

View File

@@ -15,6 +15,7 @@
#main {
flex: 1;
display: flex;
min-height: 0;
}
.side-panel {
@@ -66,3 +67,46 @@
border-right: 1px solid #eee;
}
.cur-view-container {
display:flex;
flex-direction:column;
flex:1 1 auto;
overflow: hidden;
}
.cur-view-path {
flex-shrink:0;
min-height:40px;
padding:8px 16px 0;
background:#f9f9f9;
position:relative; /* for the ':after' */
}
.cur-view-path:after {
content:'';
border-bottom:1px solid #e8e8e8;
position:absolute;
left:16px;
right:16px;
bottom:0;
}
.cur-view-content {
padding:10px 16px 20px;
flex:1;
height: calc(100% - 40px);
overflow:auto;
}
.cur-view-content .hd {
padding-bottom:0;
height:48px;
padding:9px 10px;
background:#f2f2f2;
margin-bottom:.5em;
border-radius:2px;
}
[role=group] {
display: flex;
}