From 46c706f6c53877623ac2edc682d3e6c98854cde0 Mon Sep 17 00:00:00 2001 From: baranwang Date: Sun, 3 Nov 2024 01:04:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(doc-ui):=20=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=B5=8F=E8=A7=88=E5=99=A8=E4=B8=8D=E6=94=AF=E6=8C=81?= =?UTF-8?q?=20text-wrap=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/nervous-baboons-report.md | 5 +++++ .../doc-ui/src/module-install/module-install.module.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/nervous-baboons-report.md diff --git a/.changeset/nervous-baboons-report.md b/.changeset/nervous-baboons-report.md new file mode 100644 index 0000000..04245b7 --- /dev/null +++ b/.changeset/nervous-baboons-report.md @@ -0,0 +1,5 @@ +--- +"@iringo/doc-ui": patch +--- + +修复部分浏览器不支持 text-wrap 的问题 diff --git a/packages/doc-ui/src/module-install/module-install.module.scss b/packages/doc-ui/src/module-install/module-install.module.scss index ee0f1b4..0b61f37 100644 --- a/packages/doc-ui/src/module-install/module-install.module.scss +++ b/packages/doc-ui/src/module-install/module-install.module.scss @@ -1,7 +1,7 @@ .label { display: flex; align-items: center; - text-wrap: nowrap; + white-space: nowrap; .icon { width: 1.25em;