mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-22 08:47:10 +08:00
fix(mobile): adjust mobile UI (#8719)
- fix(mobile): add close button for login, close AF-1581 - fix(mobile): adjust explorer title font, close AF-1575 - fix(mobile): disable user-select globally, close AF-1626 - fix(mobile): usage loading ui in setting, close AF-1422 - fix(mobile): adjust header height, close AF-1574
This commit is contained in:
@@ -40,6 +40,7 @@ export const ConfirmModal = ({
|
||||
autoFocusConfirm = true,
|
||||
headerClassName,
|
||||
descriptionClassName,
|
||||
contentOptions,
|
||||
...props
|
||||
}: ConfirmModalProps) => {
|
||||
const onConfirmClick = useCallback(() => {
|
||||
@@ -50,7 +51,8 @@ export const ConfirmModal = ({
|
||||
return (
|
||||
<Modal
|
||||
contentOptions={{
|
||||
className: styles.container,
|
||||
...contentOptions,
|
||||
className: clsx(styles.container, contentOptions?.className),
|
||||
onPointerDownOutside: e => {
|
||||
e.stopPropagation();
|
||||
onCancel?.();
|
||||
|
||||
Reference in New Issue
Block a user