调整图片编辑器布局保留顶部导航栏
- 图片编辑器全屏显示时保留顶部导航栏可见 - 编辑器从导航栏下方开始显示,高度为calc(100vh - 48px) - 用户可以在编辑图片时访问导航栏功能
This commit is contained in:
parent
4fc33d719d
commit
3669bde66c
@ -968,10 +968,10 @@ export function ImageAnnotator({ imageUrl, onConfirm, onCancel, initialResizeMod
|
||||
// 弹窗内容
|
||||
const modalContent = (
|
||||
<div
|
||||
className="fixed inset-0 z-[9999] flex items-center justify-center bg-background"
|
||||
className="fixed top-12 inset-x-0 bottom-0 z-[9999] flex items-center justify-center bg-background"
|
||||
onClick={onCancel}
|
||||
>
|
||||
{/* 弹窗容器 - 全屏显示 */}
|
||||
{/* 弹窗容器 - 全屏显示(保留顶部导航栏) */}
|
||||
<div
|
||||
className="flex flex-col overflow-hidden w-full h-full"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user