Skip to content

Commit

Permalink
feat: hide toolbox while printing
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing authored May 27, 2022
1 parent 7ea13c0 commit 8660421
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/template/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@ export const generateComponents = ({
const meta = node.data || ({} as any)
return (
<div
className={clsx('absolute right-4 top-2 flex gap-x-1.5', className)}
className={clsx(
'absolute right-4 top-2 flex gap-x-1.5 print:hidden',
className
)}
{...props}
>
<GithubLink github={meta.github} />
Expand Down

1 comment on commit 8660421

@vercel
Copy link

@vercel vercel bot commented on 8660421 May 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

resume – ./

resume-git-main-dengqing.vercel.app
resume-dengqing.vercel.app
resumejs.vercel.app
resume.todev.cc

Please sign in to comment.