diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-01-05 15:08:44 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-01-05 15:08:44 +0000 |
| commit | 12cb8c5c284e766992e2154de185f6e1062fe045 (patch) | |
| tree | 7d3594f421f6f315b539c0afd26660008c6831d8 /apps/web/components | |
| parent | c98722c4781379c680d9ec9efc066e555bad318c (diff) | |
| download | karakeep-12cb8c5c284e766992e2154de185f6e1062fe045.tar.zst | |
fix: Fix truncated long text in bookmark preview modal. Fixe #793
Diffstat (limited to 'apps/web/components')
| -rw-r--r-- | apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/dashboard/preview/BookmarkPreview.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx b/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx index 74eb0868..60a6d634 100644 --- a/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx +++ b/apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx @@ -30,7 +30,7 @@ export function BookmarkMarkdownComponent({ });
};
return (
- <div className="h-full overflow-hidden">
+ <div className="h-full">
{readOnly ? (
<MarkdownReadonly>{bookmark.content.text}</MarkdownReadonly>
) : (
diff --git a/apps/web/components/dashboard/preview/BookmarkPreview.tsx b/apps/web/components/dashboard/preview/BookmarkPreview.tsx index c257d902..fd70fd4e 100644 --- a/apps/web/components/dashboard/preview/BookmarkPreview.tsx +++ b/apps/web/components/dashboard/preview/BookmarkPreview.tsx @@ -114,7 +114,7 @@ export default function BookmarkPreview({ <div className="row-span-2 h-full w-full overflow-auto p-2 md:col-span-2 lg:row-auto"> {isBookmarkStillCrawling(bookmark) ? <ContentLoading /> : content} </div> - <div className="lg:col-span1 row-span-1 flex flex-col gap-4 overflow-auto bg-accent p-4 lg:row-auto"> + <div className="row-span-1 flex flex-col gap-4 overflow-auto bg-accent p-4 md:col-span-2 lg:col-span-1 lg:row-auto"> <div className="flex w-full flex-col items-center justify-center gap-y-2"> <EditableTitle bookmark={bookmark} /> {sourceUrl && ( |
