mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-25 17:22:50 +00:00
fix(theme): remove "Edit this page" button from print view (#11463)
This commit is contained in:
parent
505ff8d228
commit
7b33dc109b
|
|
@ -20,7 +20,9 @@ export default function EditMetaRow({
|
|||
}: Props): ReactNode {
|
||||
return (
|
||||
<div className={clsx('row', className)}>
|
||||
<div className="col">{editUrl && <EditThisPage editUrl={editUrl} />}</div>
|
||||
<div className={clsx('col', styles.noPrint)}>
|
||||
{editUrl && <EditThisPage editUrl={editUrl} />}
|
||||
</div>
|
||||
<div className={clsx('col', styles.lastUpdated)}>
|
||||
{(lastUpdatedAt || lastUpdatedBy) && (
|
||||
<LastUpdated
|
||||
|
|
|
|||
|
|
@ -16,3 +16,9 @@
|
|||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
.noPrint {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue