diff --git a/packages/desktop-client/src/components/budget/SidebarCategory.tsx b/packages/desktop-client/src/components/budget/SidebarCategory.tsx index c8986725fe543079b45de359058c261c76787314..ab5a20fa345a630e4ac51ee183d483a410f864f9 100644 --- a/packages/desktop-client/src/components/budget/SidebarCategory.tsx +++ b/packages/desktop-client/src/components/budget/SidebarCategory.tsx @@ -117,11 +117,13 @@ export function SidebarCategory({ </Popover> </View> <View style={{ flex: 1 }} /> - <NotesButton - id={category.id} - style={dragging && { color: 'currentColor' }} - defaultColor={theme.pageTextLight} - /> + <View style={{ flexShrink: 0 }}> + <NotesButton + id={category.id} + style={dragging && { color: 'currentColor' }} + defaultColor={theme.pageTextLight} + /> + </View> </View> ); diff --git a/packages/desktop-client/src/components/budget/SidebarGroup.tsx b/packages/desktop-client/src/components/budget/SidebarGroup.tsx index 0c9e3b4ec6329d3b4f80449120691c92dc89debf..ca9125a3fea7191abedd235fc7a73f3829007696 100644 --- a/packages/desktop-client/src/components/budget/SidebarGroup.tsx +++ b/packages/desktop-client/src/components/budget/SidebarGroup.tsx @@ -138,11 +138,13 @@ export function SidebarGroup({ </Popover> </View> <View style={{ flex: 1 }} /> - <NotesButton - id={group.id} - style={dragPreview && { color: 'currentColor' }} - defaultColor={theme.pageTextLight} - /> + <View style={{ flexShrink: 0 }}> + <NotesButton + id={group.id} + style={dragPreview && { color: 'currentColor' }} + defaultColor={theme.pageTextLight} + /> + </View> </> )} </View> diff --git a/upcoming-release-notes/2773.md b/upcoming-release-notes/2773.md new file mode 100644 index 0000000000000000000000000000000000000000..a6d90a985a21c972837257bce41dee1f96df669b --- /dev/null +++ b/upcoming-release-notes/2773.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [jpelgrom] +--- + +Fix notes icon changing size/position with long category or group names. \ No newline at end of file