Skip to content

Commit edb7191

Browse files
committed
v2.3.22
1 parent 6000ac0 commit edb7191

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/netdata-ui",
3-
"version": "2.3.21",
3+
"version": "2.3.22",
44
"description": "netdata UI kit",
55
"main": "./lib/index.js",
66
"files": [

src/components/button/styled.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ export const StyledButton = styled.button.attrs(props => ({
110110
? getSizeBy(16)
111111
: getSizeBy(props.tiny ? 2 : props.small ? 3 : 4)};
112112
height: ${props =>
113-
props.hasLabel
113+
props.height
114+
? props.height
115+
: props.hasLabel
114116
? getSizeBy(props.small ? 4 : 5)
115117
: getSizeBy(props.tiny ? 2 : props.small ? 3 : 4)};
116118

0 commit comments

Comments
 (0)