mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 02:40:18 +00:00
UI: address review feedback on agents refresh and chat styles
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
backdrop-filter: blur(14px) saturate(1.15);
|
||||
-webkit-backdrop-filter: blur(14px) saturate(1.15);
|
||||
}
|
||||
|
||||
/* Chat header - fixed at top, transparent */
|
||||
|
||||
@@ -2416,19 +2416,6 @@
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.chat-text :where(.markdown-inline-image) {
|
||||
display: block;
|
||||
max-width: min(100%, 420px);
|
||||
max-height: 320px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin-top: 0.75em;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
background: color-mix(in srgb, var(--secondary) 70%, transparent);
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.chat-text :where(:not(pre) > code) {
|
||||
padding: 0.15em 0.35em;
|
||||
border-radius: var(--radius-sm);
|
||||
|
||||
@@ -915,7 +915,6 @@ export function renderApp(state: AppViewState) {
|
||||
},
|
||||
onRefresh: async () => {
|
||||
await loadAgents(state);
|
||||
await loadConfig(state);
|
||||
const agentIds = state.agentsList?.agents?.map((entry) => entry.id) ?? [];
|
||||
if (agentIds.length > 0) {
|
||||
void loadAgentIdentities(state, agentIds);
|
||||
@@ -925,9 +924,6 @@ export function renderApp(state: AppViewState) {
|
||||
state.agentsList?.defaultId ??
|
||||
state.agentsList?.agents?.[0]?.id ??
|
||||
null;
|
||||
if (refreshedAgentId) {
|
||||
void loadAgentIdentity(state, refreshedAgentId);
|
||||
}
|
||||
if (state.agentsPanel === "files" && refreshedAgentId) {
|
||||
void loadAgentFiles(state, refreshedAgentId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user