You've already forked Nano-Banana-AI-Image-Editor
优化界面
This commit is contained in:
@@ -22,7 +22,7 @@ const queryClient = new QueryClient({
|
||||
function AppContent() {
|
||||
useKeyboardShortcuts();
|
||||
|
||||
const { showPromptPanel, setShowPromptPanel, showHistory, setShowHistory } = useAppStore();
|
||||
const { showPromptPanel, setShowPromptPanel, setShowHistory } = useAppStore();
|
||||
|
||||
// 在挂载时初始化IndexedDB
|
||||
useEffect(() => {
|
||||
@@ -59,7 +59,7 @@ function AppContent() {
|
||||
</div>
|
||||
|
||||
<div className="flex-1 flex overflow-hidden p-4 gap-4">
|
||||
<div className={cn("flex-shrink-0 transition-all duration-300", !showPromptPanel && "w-8")}>
|
||||
<div className={cn("flex-shrink-0 transition-all duration-300 ease-in-out", !showPromptPanel && "w-8")}>
|
||||
<div className="h-full card card-lg">
|
||||
<PromptComposer />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user