Skip to content

Commit 052fb3d

Browse files
Morten LautrupRokt33r
authored andcommitted
Specify wich images should not be draggable
Make only images and spans inside buttons undraggable
1 parent 929f475 commit 052fb3d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

browser/main/Detail/MarkdownNoteDetail.styl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ body[data-theme="dracula"]
8282
border-left 1px solid $ui-dracula-borderColor
8383
background-color $ui-dracula-noteDetail-backgroundColor
8484

85-
img, span, div
86-
-webkit-user-drag none
87-
user-select none
85+
div
86+
> button, div
87+
-webkit-user-drag none
88+
user-select none
89+
> img, span
90+
-webkit-user-drag none
91+
user-select none

0 commit comments

Comments
 (0)