From 4df6312aec6558a2c4216381d3b5f0598e2cbbd2 Mon Sep 17 00:00:00 2001 From: cycleccc <2991205548@qq.com> Date: Wed, 9 Oct 2024 17:51:05 +0800 Subject: [PATCH] fix(table): resolve text alignment issue in table not working (#234) * fix(table): resolve text alignment issue in table not working https://github.com/cycleccc/wangEditor-next/issues/176 * Create tough-eyes-fry.md --- .changeset/tough-eyes-fry.md | 5 +++++ packages/table-module/src/assets/index.less | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/tough-eyes-fry.md diff --git a/.changeset/tough-eyes-fry.md b/.changeset/tough-eyes-fry.md new file mode 100644 index 000000000..a27642fa5 --- /dev/null +++ b/.changeset/tough-eyes-fry.md @@ -0,0 +1,5 @@ +--- +"@fake-scope/fake-pkg": patch +--- + +fix(table): resolve text alignment issue in table not working diff --git a/packages/table-module/src/assets/index.less b/packages/table-module/src/assets/index.less index 5a3e42446..bfc7439ec 100644 --- a/packages/table-module/src/assets/index.less +++ b/packages/table-module/src/assets/index.less @@ -20,7 +20,6 @@ border: 1px solid @textarea-border-color; padding: 3px 5px; min-width: 30px; - text-align: left; line-height: 1.5; /* 强制换行,table column 宽度必须拖动增大 */ overflow: hidden; @@ -183,4 +182,4 @@ } } } -} \ No newline at end of file +}