Change width and text color
This commit is contained in:
parent
d933ca93c7
commit
8d17c69374
1 changed files with 2 additions and 2 deletions
|
|
@ -62,14 +62,14 @@ export const Navigator = ({ currentPage, numPages, skipToLocation }: {
|
||||||
type="text"
|
type="text"
|
||||||
inputMode="numeric"
|
inputMode="numeric"
|
||||||
pattern="[0-9]*"
|
pattern="[0-9]*"
|
||||||
className="w-8 text-xs text-center bg-transparent outline-none appearance-none"
|
className="w-6 text-xs text-accent bg-transparent outline-none appearance-none text-right"
|
||||||
value={inputValue}
|
value={inputValue}
|
||||||
onChange={handleInputChange}
|
onChange={handleInputChange}
|
||||||
onBlur={handleInputConfirm}
|
onBlur={handleInputConfirm}
|
||||||
onKeyDown={handleInputKeyDown}
|
onKeyDown={handleInputKeyDown}
|
||||||
aria-label="Page number"
|
aria-label="Page number"
|
||||||
/>
|
/>
|
||||||
<span className="text-xs ml-1">/ {numPages || 1}</span>
|
<span className="w-6 text-xs ml-1">/ {numPages || 1}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Page forward */}
|
{/* Page forward */}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue