公共部分样式修改及table表头固定

This commit is contained in:
zhouyuejun
2018-11-15 18:29:19 +08:00
parent f30867e92b
commit 11cb7c366a
8 changed files with 97 additions and 63 deletions
+7 -2
View File
@@ -1,6 +1,7 @@
.main-page {
width: 100%;
height: calc(100% - 66px);
height: 100%;
overflow-y: scroll;
padding: 15px 10px;
background-color: #fff;
.page-content {
@@ -31,7 +32,8 @@
// border: 1px solid #ccc;
width: 100%;
height: 700px;
overflow: scroll;
overflow: auto;
box-shadow: 0 0 1px .5px #ddd;
table{
width: max-content;
tr{
@@ -40,6 +42,9 @@
background: rgb(181, 215, 255);
}
}
th{
background-color: #ddd;
}
th,td{
// border: none;
text-align: center;