mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
prevent overflow on small displays
This commit is contained in:
parent
77b551d004
commit
2b66d13ea1
1 changed files with 89 additions and 87 deletions
|
|
@ -371,11 +371,12 @@ function DateHint({ hasChanges, handleReset }: DateHintProps) {
|
|||
escapeDeactivates: stopPropagation,
|
||||
}}
|
||||
>
|
||||
<Menu>
|
||||
<Menu style={{ maxHeight: '85vh', overflowY: 'auto' }}>
|
||||
<Header size="300" style={{ padding: `0 ${config.space.S200}` }}>
|
||||
<Text size="L400">Formatting</Text>
|
||||
</Header>
|
||||
|
||||
<Box direction="Column">
|
||||
<Box style={categoryPadding} direction="Column">
|
||||
<Header size="300">
|
||||
<Text size="L400">Year</Text>
|
||||
|
|
@ -479,6 +480,7 @@ function DateHint({ hasChanges, handleReset }: DateHintProps) {
|
|||
</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
</Menu>
|
||||
</FocusTrap>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue