From d502e1d4933a58fe64353a3c45b21ff5d79c3be4 Mon Sep 17 00:00:00 2001 From: xiaoMingTongXue <40878104+cMing1997@users.noreply.github.com> Date: Thu, 14 Dec 2023 10:53:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=B0=94=E6=B3=A1?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=A1=86=E7=9A=84=E5=BA=95=E9=83=A8=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=8D=A2=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98=20(#3413?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix:修复气泡确认框的底部按钮换行的问题 * fix: 修复气泡确认框的底部按钮换行的问题 --- src/design/ant/index.less | 1 + src/design/ant/popconfirm.less | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 src/design/ant/popconfirm.less diff --git a/src/design/ant/index.less b/src/design/ant/index.less index d508217c..2807f838 100644 --- a/src/design/ant/index.less +++ b/src/design/ant/index.less @@ -1,6 +1,7 @@ @import './pagination.less'; @import './input.less'; @import './btn.less'; +@import './popconfirm.less'; .ant-image-preview-root { img { diff --git a/src/design/ant/popconfirm.less b/src/design/ant/popconfirm.less new file mode 100644 index 00000000..a25c499c --- /dev/null +++ b/src/design/ant/popconfirm.less @@ -0,0 +1,7 @@ +// 修复气泡确认框内的按钮在内容宽度不够换行的情况 +// 初始问题发现在 2.10.1 版本 固定列页面 http://ip:port/#/comp/table/fixedColumn +.ant-popconfirm{ + &-buttons{ + white-space: nowrap; + } +} \ No newline at end of file