fix: improve input component display on focus (#581)

- Change viewportClassName from 'p-1' to 'px-1'
- Ensures input is fully visible when focused
This commit is contained in:
Kuizuo 2024-09-23 11:04:23 +08:00 committed by GitHub
parent e420451afc
commit d8ddffbc48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ const Content = () => {
mask={false}
ref={setScroller}
rootClassName="h-full grow flex-1 shrink-0 overflow-auto pl-8 pr-7"
viewportClassName="pr-1 min-h-full [&>div]:min-h-full [&>div]:relative pb-8"
viewportClassName="px-1 min-h-full [&>div]:min-h-full [&>div]:relative pb-8"
>
<Component />