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({ ...@@ -117,11 +117,13 @@ export function SidebarCategory({
</Popover> </Popover>
</View> </View>
<View style={{ flex: 1 }} /> <View style={{ flex: 1 }} />
<NotesButton <View style={{ flexShrink: 0 }}>
id={category.id} <NotesButton
style={dragging && { color: 'currentColor' }} id={category.id}
defaultColor={theme.pageTextLight} style={dragging && { color: 'currentColor' }}
/> defaultColor={theme.pageTextLight}
/>
</View>
</View> </View>
); );
......
...@@ -138,11 +138,13 @@ export function SidebarGroup({ ...@@ -138,11 +138,13 @@ export function SidebarGroup({
</Popover> </Popover>
</View> </View>
<View style={{ flex: 1 }} /> <View style={{ flex: 1 }} />
<NotesButton <View style={{ flexShrink: 0 }}>
id={group.id} <NotesButton
style={dragPreview && { color: 'currentColor' }} id={group.id}
defaultColor={theme.pageTextLight} style={dragPreview && { color: 'currentColor' }}
/> defaultColor={theme.pageTextLight}
/>
</View>
</> </>
)} )}
</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