Skip to content
Snippets Groups Projects
Unverified Commit d79b8c6c authored by Joris Pelgröm's avatar Joris Pelgröm Committed by GitHub
Browse files

Fix notes icon changing size/position with long category or group names (#2773)

parent bbc123c3
No related branches found
No related tags found
No related merge requests found
......@@ -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>
);
......
......@@ -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>
......
---
category: Bugfix
authors: [jpelgrom]
---
Fix notes icon changing size/position with long category or group names.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment