Skip to content

Commit

Permalink
fix width
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen authored and Amy Chen committed Mar 11, 2024
1 parent 224909e commit 45d2118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/report/CopyPaste.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export default class CopyPaste extends Component {

copyContentImage() {
copyDomToClipboard(this.contentAreaRef.current, {
beforeCopy: () => (this.containerRef.current.style.height = "498px"),
afterCopy: () =>
(this.containerRef.current.style.height = "calc(100vh - 174px)"),
// beforeCopy: () => (this.containerRef.current.style.height = "498px"),
// afterCopy: () =>
// (this.containerRef.current.style.height = "calc(100vh - 174px)"),
});
}

Expand Down

0 comments on commit 45d2118

Please sign in to comment.