summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-12 01:35:20 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-12 01:35:20 +0200
commit759475608f9bea6eab2c2d2109eb4dff5d8e4c30 (patch)
tree91c1eb0815deaed1d4cc4f0461f5b06e1d5d0986 /components
parent554396de5028472902355e7409d4611bc84d1d85 (diff)
fix: (#103) remembered how to use scrollbars
Diffstat (limited to 'components')
-rw-r--r--components/Sidebar/Link.tsx8
-rw-r--r--components/Sidebar/index.tsx8
2 files changed, 14 insertions, 2 deletions
diff --git a/components/Sidebar/Link.tsx b/components/Sidebar/Link.tsx
index 97b4189..f3ada7d 100644
--- a/components/Sidebar/Link.tsx
+++ b/components/Sidebar/Link.tsx
@@ -240,7 +240,13 @@ export const PreviewLink = (props: LinkProps) => {
/>
)}
>
- <Box w="100%" color="black" px={3} sx={noteStyle} overflowY="scroll">
+ <Box
+ w="100%"
+ color="black"
+ px={3}
+ sx={noteStyle}
+ //overflowY="scroll"
+ >
{orgText}
</Box>
</Scrollbars>
diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx
index 0b7c9f2..33af598 100644
--- a/components/Sidebar/index.tsx
+++ b/components/Sidebar/index.tsx
@@ -225,7 +225,13 @@ const Sidebar = (props: SidebarProps) => {
/>
)}
>
- <VStack flexGrow={1} overflowY="scroll" alignItems="left" bg="alt.100" paddingLeft={4}>
+ <VStack
+ flexGrow={1}
+ // overflowY="scroll"
+ alignItems="left"
+ bg="alt.100"
+ paddingLeft={4}
+ >
<TagBar
{...{ filter, setFilter, tagColors, setTagColors, openContextMenu, previewNode }}
/>