style:产线运行看板分辨率适配

main
黄伟杰 2 days ago
parent 4175f72a46
commit 76a559f29a

Binary file not shown.

After

Width:  |  Height:  |  Size: 745 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

@ -304,11 +304,11 @@ main {
} }
.top-card { .top-card {
top: 6%; top: 5%;
} }
.bottom-card { .bottom-card {
bottom: 5%; bottom: 4%;
} }
.device-header { .device-header {
@ -357,7 +357,8 @@ main {
} }
.device-body { .device-body {
height: 100px; /* 固定高度,内容不足留白,内容多则滚动 */ min-height: 60px; /* 固定高度,内容不足留白,内容多则滚动 */
height: 7vh;
padding-right: 4px; /* 防止滚动条遮挡内容 */ padding-right: 4px; /* 防止滚动条遮挡内容 */
overflow-y: auto; /* 启用垂直滚动 */ overflow-y: auto; /* 启用垂直滚动 */
font-size: 12px; font-size: 12px;
@ -404,7 +405,7 @@ main {
.dashboard-center-image { .dashboard-center-image {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 75%;
object-fit: contain; object-fit: contain;
} }

Loading…
Cancel
Save