aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-23 15:29:04 +0000
committerMohamedBassem <me@mbassem.com>2024-03-23 16:43:35 +0000
commitf8bc4dd9c1a70692e555f2170cd41acbf0f41851 (patch)
treec962a755d67d6d22fff5ad41dfbafe306fd0a286 /apps/web/components/dashboard
parent47bd449fbe50a7b423db860ee6a34a7a3f7c3bb4 (diff)
downloadkarakeep-f8bc4dd9c1a70692e555f2170cd41acbf0f41851.tar.zst
chore: Refactor tailwind in all apps to use the tooling package
Diffstat (limited to 'apps/web/components/dashboard')
-rw-r--r--apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx4
-rw-r--r--apps/web/components/dashboard/bookmarks/TextCard.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx b/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
index 96e1c19b..74c49ddd 100644
--- a/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
+++ b/apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
@@ -104,7 +104,7 @@ function TextContentSection({ bookmark }: { bookmark: ZBookmark }) {
dangerouslySetInnerHTML={{
__html: bookmark.content.htmlContent || "",
}}
- className="prose dark:prose-invert mx-auto"
+ className="prose mx-auto dark:prose-invert"
/>
);
}
@@ -112,7 +112,7 @@ function TextContentSection({ bookmark }: { bookmark: ZBookmark }) {
}
case "text": {
content = (
- <Markdown className="prose dark:prose-invert mx-auto">
+ <Markdown className="prose mx-auto dark:prose-invert">
{bookmark.content.text}
</Markdown>
);
diff --git a/apps/web/components/dashboard/bookmarks/TextCard.tsx b/apps/web/components/dashboard/bookmarks/TextCard.tsx
index 82664390..42d09c23 100644
--- a/apps/web/components/dashboard/bookmarks/TextCard.tsx
+++ b/apps/web/components/dashboard/bookmarks/TextCard.tsx
@@ -58,7 +58,7 @@ export default function TextCard({
),
)}
>
- <Markdown className="prose dark:prose-invert grow overflow-hidden">
+ <Markdown className="prose grow overflow-hidden dark:prose-invert">
{bookmarkedText.text}
</Markdown>
<div className="mt-4 flex flex-none flex-wrap gap-1 overflow-hidden">