We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71aadf5 commit 34c00dcCopy full SHA for 34c00dc
1 file changed
src/components/input/styled.js
@@ -50,18 +50,17 @@ export const StyledLabel = styled.label`
50
display: block;
51
${disabledCursorSupport};
52
`
53
-export const LabelRow = styled.div`
54
- width: 100%;
55
- height: 40px;
56
- flex-shrink: 0;
57
- flex-grow: 0;
+export const LabelRow = styled(Flex).attrs({
+ alignItems: "center",
+ color: "text",
+ flex: false,
+ width: "100%",
58
+})`
59
font-style: normal;
60
font-weight: bold;
61
font-size: 14px;
62
line-height: 18px;
- color: ${getColor("text")};
63
- display: flex;
64
- align-items: center;
+ margin-bottom: 4px;
65
66
67
export const InputContainer = styled(Flex)`
0 commit comments