ph-no-capture tags (#4579)

added no capture tags to stop posthog capturing recordings of pdf
content

---------

Co-authored-by: Connor Yoh <[email protected]>
This commit is contained in:
ConnorYoh
2025-10-02 11:36:11 +01:00
committed by GitHub
co-authored by Connor Yoh
parent 25154e4dbe
commit 06b4c147bd
10 changed files with 31 additions and 21 deletions
@@ -324,7 +324,7 @@ const FileEditorThumbnail = ({
marginTop: '0.5rem',
marginBottom: '0.5rem',
}}>
<Text size="lg" fw={700} className={styles.title} lineClamp={2}>
<Text size="lg" fw={700} className={`${styles.title} ph-no-capture `} lineClamp={2}>
{file.name}
</Text>
<Text
@@ -350,6 +350,7 @@ const FileEditorThumbnail = ({
<div className={styles.previewPaper}>
{file.thumbnailUrl && (
<img
className="ph-no-capture"
src={file.thumbnailUrl}
alt={file.name}
draggable={false}