Skip to content

Commit

Permalink
merge noselect declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Grant committed Aug 25, 2022
1 parent 373dc41 commit 64c8047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
5 changes: 4 additions & 1 deletion packages/core/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,17 @@ blockquote {
display: none !important;
}

.noselect {
.noselect,
.no-select {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome and Opera */
-o-user-select: none;
cursor: default;
}

:focus {
Expand Down
10 changes: 0 additions & 10 deletions packages/scm/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,6 @@
border-top: none; /* remove top border since the input declares it already */
}

.no-select {
cursor: default;
-webkit-user-select: none;
-webkit-touch-callout: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
}

.no-select:focus {
outline: none;
}
Expand Down

0 comments on commit 64c8047

Please sign in to comment.