重构代码:更改站内消息布局为flex

This commit is contained in:
Argo-Lenovo 2017-03-31 18:42:25 +08:00
parent 5528308197
commit 5bb5bc1924
1 changed files with 3 additions and 16 deletions

View File

@ -368,24 +368,11 @@ input[type="datetime"] {
/*Messages*/
.mail-box {
border-collapse: collapse;
border-spacing: 0;
display: table;
table-layout: fixed;
width: 100%;
align-content: space-between;
display: flex;
}
.mail-box > div {
display: table-cell;
float: none;
height: 100%;
padding: 0;
vertical-align: top;
}
.mail-box .sm-side {
width: 25%;
flex: 0.4;
background: #e5e8ef;
border-radius: 4px 0 0 4px;
}
@ -478,7 +465,7 @@ input[type="datetime"] {
}
.mail-box .lg-side {
width: 75%;
flex: 0.6;
background: #fff;
border-radius: 0 4px 4px 0;
}