feat(web): make stepper values tappable for direct number input
Tap the number to type a value directly instead of clicking +/- repeatedly. Input auto-selects, commits on Enter/blur, cancels on Escape, and clamps to min/max constraints. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -362,6 +362,23 @@ button:disabled {
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px dashed var(--color-text-muted);
|
||||
padding: 2px 4px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.stepper-value:hover {
|
||||
background: var(--color-surface-hover);
|
||||
}
|
||||
|
||||
.stepper-input {
|
||||
width: 60px;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 1.1rem;
|
||||
padding: 2px 4px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
/* Dropdown */
|
||||
|
||||
Reference in New Issue
Block a user