Skip to content

Commit 53682fe

Browse files
committed
fix(form): make time inputs wider on desktop
1 parent 735362d commit 53682fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/style/Form.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from 'styled-components'
2-
import { wideBreakpoint } from './settings'
2+
import { wideBreakpoint, mobileBreakpoint } from './settings'
33

44
export const Button = styled.button`
55
background-color: transparent;
@@ -38,6 +38,9 @@ export const DateInput = styled(Input)`
3838
`
3939
export const NumberInput = styled(Input)`
4040
width: 30px;
41+
@media (min-width: ${mobileBreakpoint}) {
42+
width: 60px;
43+
}
4144
`
4245

4346
export const DateEditor = styled.div`

0 commit comments

Comments
 (0)