Skip to content

Commit

Permalink
chore(input): change cursor styles for type="time"
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrantz committed Jul 1, 2021
1 parent 67d19a0 commit dfb35d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/paste-core/components/input/src/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const InputElement = styled.input<InputProps>((props) =>
paddingTop: 'space30',
resize: 'none',
width: '100%',
cursor: props.type === 'date' && !props.readOnly && !props.disabled ? 'text' : 'auto',
cursor: (props.type === 'date' || props.type === 'time') && !props.readOnly && !props.disabled ? 'text' : 'auto',

'&::placeholder': {
color: props.variant === 'inverse' ? 'colorTextInverseWeak' : 'colorTextWeak',
Expand Down

0 comments on commit dfb35d3

Please sign in to comment.