feat: optimize print mode (export pdf) preview layout (#354)
This commit is contained in:
@@ -21,6 +21,7 @@ export const BlockchainInfo: React.FC<{
|
||||
<Disclosure.Button
|
||||
className="flex w-full justify-between items-center rounded-lg px-4 py-2 text-left text-gray-900 hover:bg-hover transition-colors md:rounded-xl"
|
||||
aria-label="toggle chain info"
|
||||
data-hide-print
|
||||
>
|
||||
<span className="flex items-center">
|
||||
<BlockchainIcon className="mr-1" />
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -155,6 +155,7 @@ export const Reactions: React.FC<{
|
||||
size === "sm" ? "text-sm space-x-3" : "space-x-6 sm:space-x-10",
|
||||
className,
|
||||
)}
|
||||
data-hide-print
|
||||
>
|
||||
<div className={cn("xlog-reactions-like flex items-center sm:mb-0")}>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user