Fixes issue where dragging panel resizer would highlight tag text on Safari

This commit is contained in:
Mo Bitar
2019-04-13 12:31:08 -05:00
parent 1103400a95
commit 23baf95b88
2 changed files with 16 additions and 6 deletions

View File

@@ -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;
}
}
}