feat: optimize print mode (export pdf) preview layout (#354)

This commit is contained in:
Innei
2023-04-16 20:45:02 +01:00
committed by GitHub
parent d7ca395215
commit c19e9cc9cd
6 changed files with 24 additions and 1 deletions
+5 -1
View File
@@ -16,7 +16,11 @@ export const Comment: React.FC<{
const { t } = useTranslation("common")
return (
<div className={cn("xlog-comment comment", className)} id="comments">
<div
className={cn("xlog-comment comment", className)}
id="comments"
data-hide-print
>
<div className="xlog-comment-count border-b pb-2 mb-6">
<span>
{comments.isLoading