Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Commit

Permalink
Disable text selection in previews
Browse files Browse the repository at this point in the history
See #13
  • Loading branch information
samuelmeuli committed May 22, 2020
1 parent 74488bc commit c274bae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QLPlugin/Resources/shared/shared-main.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ body {
line-height: 1.5;
tab-size: 4;
background: var(--color-background-body);

/* Disable text selection (the copy shortcut doesn't work and no context menu can be opened) */
-webkit-user-select: none;
user-select: none;
}

/* General element spacing */
Expand Down

0 comments on commit c274bae

Please sign in to comment.