Skip to content

Commit

Permalink
Fix max line length violation.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Sep 12, 2024
1 parent 4385ab9 commit 8c299fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion new-log-viewer/src/components/MenuBar/PageNumInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ const PageNumInput = () => {
return;
}
inputRef.current.style.width = "0";
inputRef.current.style.width = `${inputRef.current.scrollWidth + PAGE_NUM_INPUT_FIT_EXTRA_WIDTH}px`;
inputRef.current.style.width =
`${inputRef.current.scrollWidth + PAGE_NUM_INPUT_FIT_EXTRA_WIDTH}px`;
};

const handleInputChange = () => {
Expand Down

0 comments on commit 8c299fb

Please sign in to comment.