Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/desktop/src/renderer/components/UtilityDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ export function UtilityDrawer<TView extends string>({
aria-label="Close tools and settings"
className="utility-drawer__close"
onClick={onClose}
title="Close tools and settings (Escape)"
type="button"
>
×
<span aria-hidden="true">Esc</span>
</button>
</header>

Expand Down
6 changes: 4 additions & 2 deletions apps/desktop/src/renderer/components/utility-drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,17 @@

.utility-drawer__close {
display: grid;
width: 28px;
width: 36px;
height: 28px;
place-items: center;
color: var(--muted);
background: transparent;
border: 1px solid transparent;
border-radius: var(--radius-sm);
font-size: 18px;
font: 700 8px / 1 var(--font-mono);
letter-spacing: 0.08em;
line-height: 1;
text-transform: uppercase;
Comment on lines +83 to +86
}

.utility-drawer__close:hover {
Expand Down
Loading