From e024f6a6e76d531fa00d8895fb0cfca9f1cc15a4 Mon Sep 17 00:00:00 2001 From: vben <anncwb@126.com> Date: 星期三, 01 十二月 2021 23:09:28 +0800 Subject: [PATCH] fix: typo --- src/design/ant/index.less | 76 ++++++++++---------------------------- 1 files changed, 20 insertions(+), 56 deletions(-) diff --git a/src/design/ant/index.less b/src/design/ant/index.less index 5b6ead4..f9334bb 100644 --- a/src/design/ant/index.less +++ b/src/design/ant/index.less @@ -2,9 +2,14 @@ @import './input.less'; @import './btn.less'; -// TODO beta.11 fix -.ant-col { - width: 100%; +.ant-image-preview-root { + img { + display: unset; + } +} + +span.anticon:not(.app-iconify) { + vertical-align: 0.125em !important; } .ant-back-top { @@ -18,16 +23,15 @@ } } -// ================================= -// ==============descriptions======= -// ================================= -// .ant-descriptions-bordered .ant-descriptions-item-label { -// background-color: @background-color-light; -// } +.ant-image-preview-operations { + background-color: rgb(0 0 0 / 30%); +} -// .ant-descriptions .ant-descriptions-item-content { -// color: @text-color-call-out; -// } +.ant-popover { + &-content { + box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%); + } +} // ================================= // ==============modal message====== @@ -48,48 +52,8 @@ color: @primary-color !important; } -// ================================= -// ==============form=============== -// ================================= -.ant-form-item.deltag .ant-form-item-required::before { - content: ''; -} - -.ant-form-item-with-help { - margin-bottom: 0; -} - -.ant-form-item { - &-label label::after { - margin: 0 6px 0 2px; - } -} - -.ant-form-item:not(.ant-form-item-with-help) { - margin-bottom: 20px; -} - -.ant-form-explain { - font-size: 14px; -} - -.compact-form-row { - .ant-form-item { - margin-bottom: 8px; - } -} - -// ================================= -// ==============empty============== -// ================================= -.ant-empty-image { - max-height: 144px; - min-height: 60px; -} - -.ant-empty-description { - margin-top: 16px; - font-size: 14px; - line-height: 24px; - color: @text-color-call-out; +.ant-checkbox-checked .ant-checkbox-inner::after, +.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after { + border-top: 0 !important; + border-left: 0 !important; } -- Gitblit v1.8.0