Skip to content

Commit b41ad17

Browse files
fix(desktop): annotation dictation buttons are round inside the round pill
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 91a778e commit b41ad17

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/desktop/src/preview/PickPreload.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ function startAnnotation(
633633
" h-7 w-7 shrink-0 rounded-full border-primary bg-primary p-0 text-primary-foreground hover:bg-primary/90";
634634
const voiceSkip = createButton("Skip", "Skip transcript cleanup");
635635
voiceSkip.className += " h-7 shrink-0 rounded-full px-2.5";
636+
// createButton's rounded-md sorts after rounded-full in the generated CSS, so it would win.
637+
for (const button of [voiceCancel, voiceFinish, voiceSkip]) button.classList.remove("rounded-md");
636638
const voiceStatus = document.createElement("div");
637639
voiceStatus.className = "flex h-7 min-w-0 flex-1 items-center gap-2";
638640
voiceStatus.setAttribute("role", "status");

0 commit comments

Comments
 (0)