样式 收窄快捷模板顶部的间距

This commit is contained in:
moux1024 2025-09-23 17:46:15 +08:00
parent acd6e7e931
commit ec7e118bd6

View File

@ -293,9 +293,9 @@ export function ChatInputBox({ noData }: { noData: boolean }) {
{/* 输入框和Action按钮 - 只在展开状态显示 */}
{!isExpanded && (
<div data-alt="chat-input-box" className="flex flex-col gap-3 w-full">
<div data-alt="chat-input-box" className="flex flex-col w-full">
{/* 第一行:输入框 */}
<div className="video-prompt-editor relative flex flex-col gap-3 flex-1 pr-10">
<div className="video-prompt-editor mb-3 relative flex flex-col gap-3 flex-1 pr-10">
{/* 文本输入框 - 改为textarea */}
<textarea
value={script}
@ -508,7 +508,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) {
/>
</div>
{/* 第三行:模板快捷入口水平滚动,超出渐隐遮挡(懒加载+骨架屏) */}
{/* 第三行:模板快捷入口水平滚动 */}
<div data-alt="template-quick-entries" className="relative pl-2">
<div className="flex items-center gap-2 overflow-x-auto scrollbar-hide pr-6 py-1">
{isTemplateLoading && (!templateStoryList || templateStoryList.length === 0) ? (