# 窄屏/移动 设备 CSS显示优化

This commit is contained in:
Toyo
2017-05-20 16:27:08 +08:00
committed by GitHub
parent 113be06cb0
commit 46118471a7
+2 -2
View File
@@ -19,7 +19,7 @@ body { background: #ebebeb url('../img/light.png'); }
tr.even.expandRow > :hover { background: #F9F9F9 !important; }
tr.odd.expandRow > :hover { background: #FFF !important; }
.expandRow > td { padding: 0 !important; border-top: 0px !important; }
#status, tr td:nth-child(1) { min-width: 70px; max-width: 100px;}
#status, tr td:nth-child(1) { min-width: 70px; max-width: 100px; }
#ip, tr td:nth-child(2) { min-width: 50px; }
#type_1, tr td:nth-child(5) { display:none;min-width: 40px; }
#location, tr td:nth-child(6) { min-width: 50px; }
@@ -46,7 +46,7 @@ tr.odd.expandRow > :hover { background: #FFF !important; }
@media only screen and (max-width: 450px) {
body { font-size: 10px; }
.content { padding: 0; }
#status, tr td:nth-child(1) { min-width: 25px; max-width: 30px;}
#status, tr td:nth-child(1) { min-width: 30px; max-width: 100px; }
#name, tr td:nth-child(2) { min-width: 25px; max-width: 50px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
#type, tr td:nth-child(4) { display:none; }
#type_1, tr td:nth-child(5) { display:none; }