mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
fix(mobile): doc property styles (#8760)
fix AF-1582 fix AF-1671 - mobile doc info dialog styles - added ConfigModal for editing property values in modal, including: - workspace properties: text, number, tags - db properties: text, number, label, link
This commit is contained in:
@@ -131,6 +131,7 @@ export const MobileMenu = ({
|
||||
className={styles.menuContent}
|
||||
>
|
||||
<Button
|
||||
data-testid="mobile-menu-back-button"
|
||||
variant="plain"
|
||||
className={styles.backButton}
|
||||
prefix={<ArrowLeftSmallIcon />}
|
||||
|
||||
@@ -38,6 +38,7 @@ export const menuContent = style({
|
||||
width: '100%',
|
||||
flexShrink: 0,
|
||||
padding: '13px 0px 13px 0px',
|
||||
maxHeight: 'calc(100dvh - 32px)',
|
||||
});
|
||||
|
||||
export const mobileMenuItem = style({
|
||||
|
||||
@@ -30,7 +30,7 @@ export const MobileMenuSub = ({
|
||||
subContentOptions={contentOptions}
|
||||
title={title}
|
||||
>
|
||||
<div className={className} {...otherTriggerOptions}>
|
||||
<div role="menuitem" className={className} {...otherTriggerOptions}>
|
||||
{children}
|
||||
</div>
|
||||
</MobileMenuSubRaw>
|
||||
|
||||
Reference in New Issue
Block a user