mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-22 03:44:34 +02:00
fix(login): add scroll area to login required page
This commit is contained in:
@@ -16,6 +16,7 @@ import { Button } from '/@/shared/components/button/button';
|
||||
import { Center } from '/@/shared/components/center/center';
|
||||
import { Group } from '/@/shared/components/group/group';
|
||||
import { Icon } from '/@/shared/components/icon/icon';
|
||||
import { ScrollArea } from '/@/shared/components/scroll-area/scroll-area';
|
||||
import { Stack } from '/@/shared/components/stack/stack';
|
||||
|
||||
const ActionRequiredRoute = () => {
|
||||
@@ -59,6 +60,7 @@ const ActionRequiredRoute = () => {
|
||||
<PageHeader />
|
||||
<Center style={{ height: '100%', width: '100vw' }}>
|
||||
<Stack gap="xl" style={{ maxWidth: '50%' }}>
|
||||
<ScrollArea style={{ maxHeight: 'calc(100vh - 50px)' }}>
|
||||
<Group wrap="nowrap">
|
||||
{displayedCheck && (
|
||||
<ActionRequiredContainer title={displayedCheck.title}>
|
||||
@@ -84,6 +86,7 @@ const ActionRequiredRoute = () => {
|
||||
</Group>
|
||||
)}
|
||||
</Stack>
|
||||
</ScrollArea>
|
||||
</Stack>
|
||||
</Center>
|
||||
</AnimatedPage>
|
||||
|
||||
Reference in New Issue
Block a user