mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-09 05:19:32 +08:00
feat: update chat layout and session management
- Added max-width to chat controls and session select for better layout. - Increased CHAT_SESSIONS_ACTIVE_MINUTES from 10 to 120 for extended session duration. - Changed brand logo source to a local favicon for improved asset management.
This commit is contained in:
@@ -295,6 +295,7 @@
|
||||
|
||||
.chat-controls__session {
|
||||
min-width: 140px;
|
||||
max-width: 420px;
|
||||
}
|
||||
|
||||
.chat-controls__thinking {
|
||||
@@ -361,6 +362,9 @@
|
||||
.chat-controls__session select {
|
||||
padding: 6px 10px;
|
||||
font-size: 13px;
|
||||
max-width: 420px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.chat-controls__thinking {
|
||||
|
||||
@@ -24,7 +24,7 @@ type ChatHost = {
|
||||
refreshSessionsAfterChat: Set<string>;
|
||||
};
|
||||
|
||||
export const CHAT_SESSIONS_ACTIVE_MINUTES = 10;
|
||||
export const CHAT_SESSIONS_ACTIVE_MINUTES = 120;
|
||||
|
||||
export function isChatBusy(host: ChatHost) {
|
||||
return host.chatSending || Boolean(host.chatRunId);
|
||||
|
||||
@@ -132,7 +132,7 @@ export function renderApp(state: AppViewState) {
|
||||
</button>
|
||||
<div class="brand">
|
||||
<div class="brand-logo">
|
||||
<img src="https://mintcdn.com/clawhub/4rYvG-uuZrMK_URE/assets/pixel-lobster.svg?fit=max&auto=format&n=4rYvG-uuZrMK_URE&q=85&s=da2032e9eac3b5d9bfe7eb96ca6a8a26" alt="OpenClaw" />
|
||||
<img src="/favicon.svg" alt="OpenClaw" />
|
||||
</div>
|
||||
<div class="brand-text">
|
||||
<div class="brand-title">OPENCLAW</div>
|
||||
|
||||
Reference in New Issue
Block a user