Skip to content

Commit d6ab70f

Browse files
authored
Merge pull request #1471 from Hypnosphi/patch-1
Knobs: fix label alignment
2 parents c76bfb0 + 7b96b05 commit d6ab70f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

addons/knobs/src/components/PropField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const stylesheet = {
1616
boxSizing: 'border-box',
1717
verticalAlign: 'top',
1818
paddingRight: 5,
19-
paddingTop: 7,
19+
paddingTop: 5,
2020
textAlign: 'right',
2121
width: 80,
2222
fontSize: 12,

addons/knobs/src/components/types/Number.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const styles = {
55
display: 'table-cell',
66
boxSizing: 'border-box',
77
verticalAlign: 'middle',
8-
height: '26px',
8+
height: '25px',
99
width: '100%',
1010
outline: 'none',
1111
border: '1px solid #f7f4f4',

0 commit comments

Comments
 (0)