# 窄屏/移动 设备 CSS显示优化
This commit is contained in:
+2
-2
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user