Skip to content

Commit 07f78dd

Browse files
committed
Make inputs slightly shorter and selects slightly taller so they are both 3em
1 parent 857a87d commit 07f78dd

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/ui/Input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Input = React.forwardRef(
5353
Input.displayName = 'Input'
5454

5555
const StyledInput = styled(Input)`
56-
height: ${(props) => props.height || '46px'};
56+
height: 3em;
5757
display: flex;
5858
justify-content: space-between;
5959
align-items: center;

src/components/ui/MultiSelect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const SelectParent = styled.div`
2424
}
2525
2626
.select__control {
27+
height: 3em;
2728
border: 1px solid ${validatedColor()};
2829
border-radius: 0.375em;
2930
box-shadow: none;

src/components/ui/SingleSelect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const StyledSelect = styled.select`
4444
padding-block: 0.5em;
4545
padding-inline-start: 0.75em;
4646
padding-inline-end: 2em;
47+
height: 3em;
4748
width: 100%;
4849
appearance: none;
4950
cursor: pointer;

0 commit comments

Comments
 (0)