Skip to content

Commit

Permalink
Fix clipboard uses with Prism coy theme (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcere authored Apr 21, 2024
1 parent 73dc926 commit 3f0172b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/markdown.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ export class MarkdownService {
toolbarWrapperElement.style.right = '.5em';
toolbarWrapperElement.style.opacity = '0';
toolbarWrapperElement.style.transition = 'opacity 250ms ease-out';
toolbarWrapperElement.style.zIndex = '1';
preWrapperElement.insertAdjacentElement('beforeend', toolbarWrapperElement);

// register listener to show/hide toolbar
Expand Down

0 comments on commit 3f0172b

Please sign in to comment.