Skip to content

A local-first personal finance app

Menu Option Disappears Completely On Certain Screen Size (#3880)

Eric Jie4b40fb83113
diff --git a/packages/desktop-client/src/components/accounts/Header.tsx b/packages/desktop-client/src/components/accounts/Header.tsx
index c45ae73eb1..4a66ebc45d 100644
--- a/packages/desktop-client/src/components/accounts/Header.tsx
+++ b/packages/desktop-client/src/components/accounts/Header.tsx
@@ -369,7 +369,7 @@ export function AccountHeader({
onMakeAsNonSplitTransactions={onMakeAsNonSplitTransactions}
/>
)}
- <View>
+ <View style={{ flex: '0 0 auto' }}>
{account && (
<>
<Button
@@ -427,7 +427,7 @@ export function AccountHeader({
</View>
</Button>
{account ? (
- <View>
+ <View style={{ flex: '0 0 auto' }}>
<MenuButton
aria-label="Account menu"
ref={triggerRef}
@@ -456,7 +456,7 @@ export function AccountHeader({
</Popover>
</View>
) : (
- <View>
+ <View style={{ flex: '0 0 auto' }}>
<MenuButton
aria-label="Account menu"
ref={triggerRef}
diff --git a/upcoming-release-notes/3880.md b/upcoming-release-notes/3880.md
new file mode 100644
index 0000000000..dd3d83f660
--- /dev/null
+++ b/upcoming-release-notes/3880.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [ericji1326]
+---
+
+Fix bug where menu option icon disappearing completely on certain screen sizes.