Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Pin chat-bubble-actions to the start of the message action row

wytd3157db451c3
diff --git a/src/renderer/style.css b/src/renderer/style.css
index 56a5de2d..1d27774d 100644
--- a/src/renderer/style.css
+++ b/src/renderer/style.css
@@ -2508,26 +2508,37 @@ body.model-not-configured .main-content { flex-direction: column; }
.chat-msg-actions:empty {
display: none;
}
+/* Knowledge-base + Copy buttons live in this inline-flex container that
+ * gets appended to .chat-msg-actions. `order: -1` pins them to the
+ * leading edge of the actions row regardless of how many produced-file
+ * / created-agent chips follow — siblings default to 0 and fall in
+ * after, so the user always finds these two buttons at the same spot
+ * under every bubble. */
.chat-bubble-actions {
display: inline-flex;
align-items: center;
+ gap: 4px;
+ order: -1;
}
.bubble-archive-btn,
.bubble-copy-btn {
+ border: 1px solid var(--border);
+ background: #fff;
+ color: var(--muted);
font-size: 11px;
- color: var(--text-muted, #6b7280);
- background: transparent;
- border: 1px solid var(--border-soft, #e5e7eb);
- border-radius: 999px;
padding: 2px 10px;
+ border-radius: 10px;
cursor: pointer;
- transition: background 0.12s, color 0.12s, border-color 0.12s;
+ box-shadow: 0 1px 2px rgba(0,0,0,0.05);
+ transition: all 0.12s;
+ font-family: inherit;
}
.bubble-archive-btn:hover,
.bubble-copy-btn:hover {
- background: var(--bg-soft, #f3f4f6);
- color: var(--text, #1f2937);
- border-color: var(--border, #d1d5db);
+ color: var(--primary);
+ border-color: rgba(37, 99, 235, 0.25);
+ background: rgba(37, 99, 235, 0.04);
+ box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}
.bubble-archive-btn:disabled,
.bubble-copy-btn:disabled {
@@ -3495,35 +3506,6 @@ body.model-not-configured .main-content { flex-direction: column; }
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}
-/* Archive button lives inside .chat-meta (to the right of the timestamp) so
- it never overlaps the bubble. Only attached for finalised assistant replies. */
-.chat-bubble-actions {
- display: inline-flex;
- gap: 4px;
-}
-
-.bubble-archive-btn,
-.bubble-copy-btn {
- border: 1px solid var(--border);
- background: #fff;
- color: var(--muted);
- font-size: 11px;
- padding: 2px 10px;
- border-radius: 10px;
- cursor: pointer;
- box-shadow: 0 1px 2px rgba(0,0,0,0.05);
- transition: all 0.12s;
- font-family: inherit;
-}
-
-.bubble-archive-btn:hover,
-.bubble-copy-btn:hover {
- color: var(--primary);
- border-color: rgba(37, 99, 235, 0.25);
- background: rgba(37, 99, 235, 0.04);
- box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
-}
-
/* ─── Agents ─── */
.agents-container {
flex: 1;