Skip to content

Commit 3836309

Browse files
authored
fix: 🐛 修复Button初始化margin的问题 (#831)
1 parent 834cd8e commit 3836309

File tree

1 file changed

+3
-1
lines changed
  • src/uni_modules/wot-design-uni/components/wd-button

1 file changed

+3
-1
lines changed

src/uni_modules/wot-design-uni/components/wd-button/index.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
}
4242

4343
@include b(button) {
44+
margin-left: initial;
45+
margin-right: initial;
4446
position: relative;
4547
display: inline-block;
4648
outline: none;
@@ -331,4 +333,4 @@
331333
to {
332334
transform: rotate(360deg);
333335
}
334-
}
336+
}

0 commit comments

Comments
 (0)