diff --git a/app/components/dify-chat/chat-input.tsx b/app/components/dify-chat/chat-input.tsx index f7d3964..17499f7 100644 --- a/app/components/dify-chat/chat-input.tsx +++ b/app/components/dify-chat/chat-input.tsx @@ -215,7 +215,7 @@ export default function ChatInput({ placeholder={placeholder} disabled={disabled} autoSize={{ minRows: 1, maxRows: 6 }} - className="chat-input-textarea" + className="chat-input-textarea focus:outline-0 focus:outline-offset-0 focus:shadow-none focus:border-none" /> diff --git a/app/routes/contract-draft.$draftId.tsx b/app/routes/contract-draft.$draftId.tsx index 9b953ba..a2cb937 100644 --- a/app/routes/contract-draft.$draftId.tsx +++ b/app/routes/contract-draft.$draftId.tsx @@ -391,7 +391,7 @@ export default function ContractDraftPage() { messageService.show({ type: 'warning', title: '确认返回', - message: '确定要返回吗?未保存的更改将丢失。', + message: '确定要返回吗?所有已更改的内容将会丢失。', confirmText: '确定返回', cancelText: '取消', onConfirm: () => { diff --git a/app/styles/components/chat-with-llm/chat-input.css b/app/styles/components/chat-with-llm/chat-input.css index daaf409..3a86b79 100644 --- a/app/styles/components/chat-with-llm/chat-input.css +++ b/app/styles/components/chat-with-llm/chat-input.css @@ -29,8 +29,6 @@ .chat-input-textarea-wrapper { flex: 1; - min-height: 40px; - max-height: 120px; margin: 0 8px; } @@ -40,8 +38,6 @@ box-shadow: none !important; padding: 8px 0 !important; background: transparent !important; - min-height: 40px; - max-height: 120px; } .chat-input-button { @@ -83,13 +79,10 @@ .chat-input-textarea-wrapper { margin: 0 4px; - min-height: 36px; - max-height: 100px; } .chat-input-textarea { - min-height: 36px; - max-height: 100px; + font-size: 14px; } @@ -109,13 +102,9 @@ .chat-input-textarea-wrapper { margin: 0 2px; - min-height: 32px; - max-height: 80px; } .chat-input-textarea { - min-height: 32px; - max-height: 80px; font-size: 13px; padding: 6px 0 !important; } diff --git a/app/styles/main.css b/app/styles/main.css index 46975af..93bb120 100644 --- a/app/styles/main.css +++ b/app/styles/main.css @@ -106,6 +106,11 @@ border-color: #00684a; box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.1); } + + .ant-input:focus, + .ant-input:active, + .ant-input-outlined:focus-within, + .ant-select-focused, .ant-select:active, .ant-select:hover{ outline: none; @@ -113,8 +118,9 @@ border-color: #00684a; box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.1); } - + + } /* 组件相关样式 */