Add webkit-prefixed user-select attributes (#41)

It turns out that WebKit uses its own prefix for user-select so I'm adding this everywhere we currently define user-select, as well as a few new places
This commit is contained in:
Evan Simkowitz
2024-06-11 16:16:52 -07:00
committed by GitHub
parent 9809414eb0
commit 8b61c4d62b
4 changed files with 6 additions and 4 deletions
+1 -2
View File
@@ -31,13 +31,12 @@
justify-content: center;
background-color: var(--panel-bg-color);
user-select: none;
-webkit-user-select: none;
cursor: default;
.block-header-text {
padding: 0 5px;
flex-grow: 1;
user-select: none;
cursor: default;
}
.close-button {
+1
View File
@@ -20,6 +20,7 @@
height: 100%;
cursor: col-resize;
user-select: none;
-webkit-user-select: none;
touch-action: none;
width: 2px;
background: linear-gradient(var(--border-color), var(--border-color)) no-repeat center/2px 100%;
+2 -2
View File
@@ -46,8 +46,6 @@
height: 32px;
border-bottom: 1px solid var(--border-color);
flex-shrink: 0;
user-select: none;
cursor: default;
.tab {
display: flex;
@@ -57,6 +55,8 @@
height: 100%;
font-weight: bold;
border-right: 1px solid var(--border-color);
user-select: none;
-webkit-user-select: none;
cursor: pointer;
position: relative;
+2
View File
@@ -51,6 +51,8 @@
position: absolute;
top: 10000px;
white-space: nowrap !important;
user-select: none;
-webkit-user-select: none;
}
}