Fixes issue where dragging panel resizer would highlight tag text on Safari
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
transition: height .1s ease-in-out;
|
||||
position: relative;
|
||||
|
||||
> .info {
|
||||
> .tag-info {
|
||||
height: 20px;
|
||||
|
||||
> .title {
|
||||
@@ -65,6 +65,14 @@
|
||||
text-overflow: ellipsis;
|
||||
width: 75%;
|
||||
|
||||
// Required for Safari to avoid highlighting when dragging panel resizers
|
||||
// Make sure to undo if it's selected (for editing)
|
||||
-webkit-user-select: none;
|
||||
|
||||
&.editing {
|
||||
-webkit-user-select: text !important;
|
||||
}
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -96,8 +104,10 @@
|
||||
}
|
||||
|
||||
&.selected {
|
||||
> .title {
|
||||
cursor: text;
|
||||
> .tag-info {
|
||||
.title {
|
||||
cursor: text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user