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"
|
||||
inputMode="numeric"
|
||||
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}
|
||||
onChange={handleInputChange}
|
||||
onBlur={handleInputConfirm}
|
||||
onKeyDown={handleInputKeyDown}
|
||||
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>
|
||||
|
||||
{/* Page forward */}
|
||||
|
|
|
|||
Loading…
Reference in a new issue