mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 05:29:08 +08:00
feat: reset modal
This commit is contained in:
@@ -50,7 +50,9 @@ export const ShortcutsModal = ({ open, onClose }: ModalProps) => {
|
||||
<CloseIcon />
|
||||
</CloseButton>
|
||||
</StyledModalHeader>
|
||||
<StyledSubTitle>Keyboard shortcuts</StyledSubTitle>
|
||||
<StyledSubTitle style={{ marginTop: 0 }}>
|
||||
Keyboard shortcuts
|
||||
</StyledSubTitle>
|
||||
{Object.entries(keyboardShortcuts).map(([title, shortcuts]) => {
|
||||
return (
|
||||
<StyledListItem key={title}>
|
||||
|
||||
@@ -35,6 +35,7 @@ export const StyledSubTitle = styled.div(({ theme }) => ({
|
||||
fontSize: '12px',
|
||||
height: '36px',
|
||||
lineHeight: '36px',
|
||||
marginTop: '28px',
|
||||
}));
|
||||
export const StyledModalHeader = styled.div(({ theme }) => ({
|
||||
display: 'flex',
|
||||
|
||||
Reference in New Issue
Block a user