Skip to content

Commit 6140593

Browse files
committed
fix(x-mp-alipay): 修复 button 组件文本内容过长不会换行的问题
1 parent ed4b13b commit 6140593

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/uni-mp-vite/lib/uvue.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ button {
9292
align-items: center;
9393
align-content: center;
9494
justify-content: center;
95+
white-space: normal;
96+
word-break: break-all;
97+
text-align: center;
98+
height: auto;
9599
min-height: 0px;
96100
/* min-width: 0px; */
97101
border-width: medium;

0 commit comments

Comments
 (0)