Skip to content

Commit 46885fd

Browse files
committed
优化table显示td单元格大小
1 parent 0283ad2 commit 46885fd

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

Vol.Vue/src/components/basic/VolTable.vue

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ export default {
12001200
border-top: 0px;
12011201
}
12021202
.v-table >>> .el-table__header th {
1203-
padding: 8px 0 !important;
1203+
padding: 9px 0 !important;
12041204
12051205
background-color: #f8f8f9 !important;
12061206
font-size: 13px;
@@ -1213,7 +1213,7 @@ export default {
12131213
white-space: nowrap !important;
12141214
}
12151215
.v-table >>> .el-table__body td {
1216-
padding: 7px 0 !important;
1216+
padding: 9px 0 !important;
12171217
}
12181218
12191219
.v-table >>> .el-table__footer td {
@@ -1244,18 +1244,6 @@ export default {
12441244
border: none !important;
12451245
background: none !important;
12461246
}
1247-
/* .spin-icon-load{
1248-
animation: ani-demo-spin 1s linear infinite;
1249-
}
1250-
@keyframes ani-demo-spin {
1251-
from { transform: rotate(0deg);}
1252-
50% { transform: rotate(180deg);}
1253-
to { transform: rotate(360deg);}
1254-
}
1255-
.message{
1256-
height: 50px;
1257-
position: relative;
1258-
border: 1px solid #eee;
1259-
} */
1247+
12601248
</style>
12611249

开发版dev/Vue.NetCore/Vol.Vue/src/components/basic/VolTable.vue

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ export default {
12001200
border-top: 0px;
12011201
}
12021202
.v-table >>> .el-table__header th {
1203-
padding: 8px 0 !important;
1203+
padding: 9px 0 !important;
12041204
12051205
background-color: #f8f8f9 !important;
12061206
font-size: 13px;
@@ -1213,7 +1213,7 @@ export default {
12131213
white-space: nowrap !important;
12141214
}
12151215
.v-table >>> .el-table__body td {
1216-
padding: 7px 0 !important;
1216+
padding: 9px 0 !important;
12171217
}
12181218
12191219
.v-table >>> .el-table__footer td {
@@ -1244,18 +1244,6 @@ export default {
12441244
border: none !important;
12451245
background: none !important;
12461246
}
1247-
/* .spin-icon-load{
1248-
animation: ani-demo-spin 1s linear infinite;
1249-
}
1250-
@keyframes ani-demo-spin {
1251-
from { transform: rotate(0deg);}
1252-
50% { transform: rotate(180deg);}
1253-
to { transform: rotate(360deg);}
1254-
}
1255-
.message{
1256-
height: 50px;
1257-
position: relative;
1258-
border: 1px solid #eee;
1259-
} */
1247+
12601248
</style>
12611249

0 commit comments

Comments
 (0)