Skip to content

Commit 27fb8f9

Browse files
authored
Merge pull request mastermoo#74 from gina-system/master
Fixed bottom margin in version 2.0.0
2 parents 8624253 + 9669652 commit 27fb8f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ActionButton.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const alignItemsMap = {
88
"right" : "flex-end"
99
}
1010

11+
const shadowHeight = 12;
12+
1113
export default class ActionButton extends Component {
1214

1315
constructor(props) {
@@ -45,7 +47,7 @@ export default class ActionButton extends Component {
4547
getButtonSize() {
4648
return {
4749
width: this.props.size,
48-
height: this.props.size,
50+
height: this.props.size + shadowHeight,
4951
}
5052
}
5153

0 commit comments

Comments
 (0)