修改手机端网页样式

This commit is contained in:
whyour
2023-04-06 21:49:42 +08:00
parent 1d2df860e8
commit 59c26d90d3
5 changed files with 14 additions and 9 deletions
+8 -5
View File
@@ -6,8 +6,9 @@
.card-wrapper {
.ant-card:last-child {
.ant-card-body {
height: calc(80vh - 367px);
height: calc(80vh - var(--vh-offset, 0px) - 367px);
min-height: 300px;
height: calc(90vh - 367px);
height: calc(90vh - var(--vh-offset, 0px) - 367px);
overflow-y: auto;
}
}
@@ -193,8 +194,10 @@ tr.drop-over-upward td {
}
}
.crontab-wrapper {
tbody .ant-table-cell {
height: 69px !important;
body[data-mode='desktop'] {
.crontab-wrapper {
tbody .ant-table-cell {
height: 69px !important;
}
}
}
+1 -1
View File
@@ -314,7 +314,7 @@ const Crontab = () => {
{
title: '操作',
key: 'action',
width: 100,
width: 130,
render: (text, record, index) => {
const isPc = !isPhone;
return (