Skip to content

Commit

Permalink
SizeInput: fix slider overflow on small breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rektdeckard committed Sep 28, 2020
1 parent 2939465 commit e42317f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/SizeInput/SizeInput.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
.size-bar input {
margin: 0 auto;
}

.size-bar label {
display: none;
}
}

.size-bar input::-webkit-slider-thumb {
Expand Down
1 change: 0 additions & 1 deletion src/components/SizeInput/SizeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const SizeInput: React.FC<SizeInputProps> = () => {
name="size-input"
value={size}
type="range"
title={size.toString()}
min={16}
max={96}
onChange={handleSizeChange}
Expand Down

0 comments on commit e42317f

Please sign in to comment.