mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 14:44:15 +00:00
fix: input range thumb off center
This commit is contained in:
parent
14c992a9ce
commit
c45c51fa31
4 changed files with 9 additions and 9 deletions
|
|
@ -206,7 +206,7 @@ export default function MiiInstructions({ instructions }: Props) {
|
|||
</label>
|
||||
<div className="relative h-5 flex justify-center items-center">
|
||||
<input id="height" type="range" min={0} max={128} step={1} disabled value={height} />
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-400 z-0"></div>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-300 z-0"></div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
|
@ -217,7 +217,7 @@ export default function MiiInstructions({ instructions }: Props) {
|
|||
</label>
|
||||
<div className="relative h-5 flex justify-center items-center">
|
||||
<input id="weight" type="range" min={0} max={128} step={1} disabled value={weight} />
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-400 z-0"></div>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-300 z-0"></div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ export default function VoiceViewer({ data, onChange, onClickTone }: Props) {
|
|||
if (onChange) onChange(e, label.toLowerCase());
|
||||
}}
|
||||
/>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-400 z-0"></div>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-300 z-0"></div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ export default function HeadTab({ instructions }: Props) {
|
|||
instructions.current.height = e.target.valueAsNumber;
|
||||
}}
|
||||
/>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-400 z-0"></div>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-300 z-0"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ export default function HeadTab({ instructions }: Props) {
|
|||
instructions.current.weight = e.target.valueAsNumber;
|
||||
}}
|
||||
/>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-400 z-0"></div>
|
||||
<div className="absolute h-4 w-1.5 rounded bg-orange-300 z-0"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue