forked from 77media/video-flow
样式 收窄快捷模板顶部的间距
This commit is contained in:
parent
acd6e7e931
commit
ec7e118bd6
@ -293,9 +293,9 @@ export function ChatInputBox({ noData }: { noData: boolean }) {
|
|||||||
|
|
||||||
{/* 输入框和Action按钮 - 只在展开状态显示 */}
|
{/* 输入框和Action按钮 - 只在展开状态显示 */}
|
||||||
{!isExpanded && (
|
{!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 */}
|
||||||
<textarea
|
<textarea
|
||||||
value={script}
|
value={script}
|
||||||
@ -508,7 +508,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 第三行:模板快捷入口水平滚动,超出渐隐遮挡(懒加载+骨架屏) */}
|
{/* 第三行:模板快捷入口水平滚动 */}
|
||||||
<div data-alt="template-quick-entries" className="relative pl-2">
|
<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">
|
<div className="flex items-center gap-2 overflow-x-auto scrollbar-hide pr-6 py-1">
|
||||||
{isTemplateLoading && (!templateStoryList || templateStoryList.length === 0) ? (
|
{isTemplateLoading && (!templateStoryList || templateStoryList.length === 0) ? (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user