Skip to content

Commit

Permalink
fix: Fix visible scrollbars even if content is not overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Mar 2, 2024
1 parent c1ad2da commit a1ed172
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion packages/web/app/dashboard/components/AllLists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a1ed172

Please sign in to comment.