Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Agenda: an event card's single action lines up with its details

Eric Brownrout7248d366b2ad
diff --git a/app/src/renderer/src/workspace.css b/app/src/renderer/src/workspace.css
index 44067cd3..541f500d 100644
--- a/app/src/renderer/src/workspace.css
+++ b/app/src/renderer/src/workspace.css
@@ -243,6 +243,8 @@
.agenda-open-note { height:28px;padding-inline:8px;font-size:11px; }
.agenda-inspector-footer { flex:none;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line);padding-top:16px; }
.agenda-inspector-actions { display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;container-type:inline-size; }
+.agenda-inspector .agenda-inspector-footer { gap:16px; }
+.agenda-inspector .agenda-inspector-actions:has(>:only-child) { justify-content:flex-start; }
.agenda-inspector-actions>.workspace-button { min-width:0;max-width:100%; }
.agenda-inspector-actions:has(>:nth-child(2))>.workspace-button { max-width:calc((100% - 8px)/2); }
.agenda-inspector-actions>.workspace-button>span { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;font-size:inherit; }
diff --git a/app/test/agendaCard.test.ts b/app/test/agendaCard.test.ts
index 2bf4381b..75da26da 100644
--- a/app/test/agendaCard.test.ts
+++ b/app/test/agendaCard.test.ts
@@ -1,3 +1,4 @@
+import { readFileSync } from 'node:fs'
import { describe, expect, it } from 'vitest'
import { agendaCardSide, agendaCardSpace } from '../src/shared/agendaCard'
@@ -6,6 +7,15 @@ const list = { top: 270, bottom: 720, left: 820, right: 1080 }
const viewport = { width: 1100, height: 760 }
const row = (top: number, bottom: number) => ({ top, bottom, left: 820, right: 1080 })
+it('left-aligns a single agenda-card action with the icon column and keeps the 16px divider rhythm', () => {
+ const css = readFileSync(new URL('../src/renderer/src/workspace.css', import.meta.url), 'utf8')
+ expect(css).toMatch(/\.agenda-inspector \.agenda-inspector-actions:has\(>:only-child\) \{ justify-content:flex-start; \}/)
+ // Rows with two or more actions retain the shared right alignment.
+ expect(css).toMatch(/\.agenda-inspector-actions \{[^}]*justify-content:flex-end;/)
+ expect(css).toMatch(/\.agenda-inspector \.agenda-inspector-footer \{ gap:16px; \}/)
+ expect(css).toMatch(/\.agenda-inspector-footer \{[^}]*padding-top:16px;/)
+})
+
describe('agenda card placement', () => {
it('opens above a bottom row, below a top row, with 8px insets and 12px row clearance', () => {
const bottom = agendaCardSpace(column, list, row(650, 710), viewport)