移动设备改进
This commit is contained in:
39
ui/style.css
39
ui/style.css
@@ -19,6 +19,45 @@ html {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
#index-table th:nth-child(5) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#index-table td:nth-child(6) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
line-clamp: 2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.desktoponly {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#index-table th:last-child,
|
||||
#index-table td:last-child {
|
||||
text-align: right;
|
||||
padding: 0.25em 0 !important;
|
||||
}
|
||||
|
||||
#index-table th:nth-child(2),
|
||||
#index-table td:nth-child(3) {
|
||||
width: 52%;
|
||||
}
|
||||
|
||||
#index-table th:nth-child(3),
|
||||
#index-table td:nth-child(4) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
|
||||
Reference in New Issue
Block a user