Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Replace Button with native button in TargetMenuPanel

Richie McIlroy849b70208c06
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
index 5d8256ff2..13487a43c 100644
--- a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
@@ -259,16 +259,16 @@ function TargetMenuPanel(props: TargetMenuPanelProps & SharedTargetMenuProps) {
</>
}
>
- <Button
- variant="ghost"
- class="w-full text-xs h-full justify-start pl-2 text-gray-11 hover:text-gray-12"
+ <button
+ type="button"
+ class="flex w-full items-center justify-start h-full pl-2 text-xs text-gray-11 transition-colors rounded hover:bg-gray-3 hover:text-gray-12 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1"
onClick={() => {
if ("onViewAll" in props) props.onViewAll();
}}
>
<IconLucideSquarePlay class="mr-2 size-3" />
View All Recordings
- </Button>
+ </button>
</Show>
</div>
</div>