Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu Option Disappears Completely On Certain Screen Size #3880

Merged
merged 12 commits into from
Dec 8, 2024
4 changes: 4 additions & 0 deletions packages/desktop-client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
min-width: 0;
}

.view-reset {
all: unset;
}

.js-focus-visible :focus:not(.focus-visible) {
outline: 0;
}
Expand Down
6 changes: 3 additions & 3 deletions packages/desktop-client/src/components/accounts/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export function AccountHeader({
onMakeAsNonSplitTransactions={onMakeAsNonSplitTransactions}
/>
)}
<View>
<View className="view-reset">
{account && (
<>
<Button
Expand Down Expand Up @@ -427,7 +427,7 @@ export function AccountHeader({
</View>
</Button>
{account ? (
<View>
<View className="view-reset">
<MenuButton
aria-label="Account menu"
ref={triggerRef}
Expand Down Expand Up @@ -456,7 +456,7 @@ export function AccountHeader({
</Popover>
</View>
) : (
<View>
<View className="view-reset">
<MenuButton
aria-label="Account menu"
ref={triggerRef}
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/3880.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [ericji1326]
---

Fix bug where menu option icon disappearing completely on certain screen sizes.