Skip to content

Commit

Permalink
Merge pull request #991 from RocketChat/improve-text-selection
Browse files Browse the repository at this point in the history
Improve text selection
  • Loading branch information
gmsecrieru committed Oct 4, 2015
2 parents 32b4834 + d532314 commit b6f895d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions client/stylesheets/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
*:before,
*:after {
.box-sizing(border-box);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

:focus {
Expand Down Expand Up @@ -2348,6 +2352,20 @@ a.github-fork {
position: relative;
line-height: 20px;
min-height: 40px;

.body, .user.user-card-message, .time {
-webkit-user-select: all;
-moz-user-select: all;
-ms-user-select: all;
user-select: all;
* {
-webkit-user-select: all;
-moz-user-select: all;
-ms-user-select: all;
user-select: all;
}
}

&:nth-child(1) {
margin-top: 0;
}
Expand Down

0 comments on commit b6f895d

Please sign in to comment.