fix:css样式报错修复

This commit is contained in:
zhongzm
2024-10-22 18:54:35 +08:00
parent 208895c7d5
commit 5cc3b9c8cf

View File

@@ -985,45 +985,43 @@ const applyTwoColumnLayout = () => {
:deep {
.ant-card-body {
flex: 1;
display: flex;
flex-direction: column;
padding: 16px !important;
overflow: hidden;
}
:deep(.ant-card-body) {
flex: 1;
display: flex;
flex-direction: column;
padding: 16px !important;
overflow: hidden;
}
.ant-form-item {
margin-bottom: 0;
}
:deep(.ant-form-item) {
margin-bottom: 0;
}
.ant-form-item-label {
font-weight: 500;
color: rgba(0, 0, 0, 0.85);
}
:deep(.ant-form-item-label) {
font-weight: 500;
color: rgba(0, 0, 0, 0.85);
}
.anticon {
font-size: 16px;
color: #1890ff;
}
:deep(.anticon) {
font-size: 16px;
color: #1890ff;
}
.ant-select {
min-width: 200px;
}
:deep(.ant-select) {
min-width: 200px;
}
.ant-card-head {
padding: 8px 16px; /* 减小上下内边距 */
}
:deep(.ant-card-head) {
padding: 8px 16px; /* 减小上下内边距 */
}
.ant-card-head-title {
padding: 8px 0; /* 减小上下内边距 */
width: 100%; // 确保标题占据全宽
}
:deep(.ant-card-head-title) {
padding: 8px 0; /* 减小上下内边距 */
width: 100%; // 确保标题占据全宽
}
.ant-range-picker {
flex-shrink: 0; // 防止日期选择被压缩
max-width: 100%; // 确保在小屏幕上不会溢出
}
:deep(.ant-range-picker) {
flex-shrink: 0; // 防止日期选择被压缩
max-width: 100%; // 确保在小屏幕上不会溢出
}
</style>