aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-02 11:04:27 +0000
committerMohamedBassem <me@mbassem.com>2024-03-02 11:04:37 +0000
commita1ed172dec4b77b920d0ddeccad41eda8beedede (patch)
treeab815fdb83bcc8a9bfc95cf3666da2f2961f15c5 /packages
parentc1ad2dae0fbd075699e06acd313e38b717611cfa (diff)
downloadkarakeep-a1ed172dec4b77b920d0ddeccad41eda8beedede.tar.zst
fix: Fix visible scrollbars even if content is not overflowing
Diffstat (limited to 'packages')
-rw-r--r--packages/web/app/dashboard/bookmarks/components/BookmarkedTextViewer.tsx2
-rw-r--r--packages/web/app/dashboard/components/AllLists.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/web/app/dashboard/bookmarks/components/BookmarkedTextViewer.tsx b/packages/web/app/dashboard/bookmarks/components/BookmarkedTextViewer.tsx
index 3f4a647d..8a620341 100644
--- a/packages/web/app/dashboard/bookmarks/components/BookmarkedTextViewer.tsx
+++ b/packages/web/app/dashboard/bookmarks/components/BookmarkedTextViewer.tsx
@@ -12,7 +12,7 @@ export function BookmarkedTextViewer({
}) {
return (
<Dialog open={open} onOpenChange={setOpen}>
- <DialogContent className="max-h-[75%] overflow-scroll">
+ <DialogContent className="max-h-[75%] overflow-auto">
<Markdown className="prose">{content}</Markdown>
</DialogContent>
</Dialog>
diff --git a/packages/web/app/dashboard/components/AllLists.tsx b/packages/web/app/dashboard/components/AllLists.tsx
index 937ba90d..5b706cbe 100644
--- a/packages/web/app/dashboard/components/AllLists.tsx
+++ b/packages/web/app/dashboard/components/AllLists.tsx
@@ -13,7 +13,7 @@ export default function AllLists() {
const { setOpen } = useNewListModal();
return (
- <ul className="max-h-full gap-2 overflow-scroll text-sm font-medium">
+ <ul className="max-h-full gap-y-2 overflow-auto text-sm font-medium">
<NewListModal />
<li className="flex justify-between pb-2 font-bold">
<p>Lists</p>