SizeInput: fix slider overflow on small breakpoint

This commit is contained in:
rektdeckard
2020-09-28 03:23:53 -04:00
parent 2939465431
commit e42317f95d
2 changed files with 4 additions and 1 deletions

View File

@@ -35,6 +35,10 @@
.size-bar input { .size-bar input {
margin: 0 auto; margin: 0 auto;
} }
.size-bar label {
display: none;
}
} }
.size-bar input::-webkit-slider-thumb { .size-bar input::-webkit-slider-thumb {

View File

@@ -37,7 +37,6 @@ const SizeInput: React.FC<SizeInputProps> = () => {
name="size-input" name="size-input"
value={size} value={size}
type="range" type="range"
title={size.toString()}
min={16} min={16}
max={96} max={96}
onChange={handleSizeChange} onChange={handleSizeChange}