-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix text selection in dark mode and modal view #3761
Conversation
/backport to stable24 |
/backport to stable23 |
/backport to stable22 |
@@ -225,6 +225,9 @@ export default { | |||
max-width: calc(100% - #{$modal-padding*2}); | |||
padding: 0 14px; | |||
max-height: 100%; | |||
user-select: text; | |||
-webkit-user-select: text; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about the support for other browsers?
-moz-user-select: text;
-webkit-user-select: text;
-ms-user-select: text;
user-select: text;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All recent major browsers should be fine without the prefix except for safari, according to https://caniuse.com/mdn-css_properties_user-select ;)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
f4f465d
to
c089192
Compare
Summary