Skip to content

Commit 2f1dadf

Browse files
AWolf81Rokt33r
authored andcommitted
Change drag disable styles to be more specific
1 parent 7d04046 commit 2f1dadf

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

browser/main/Detail/MarkdownNoteDetail.styl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,4 @@ body[data-theme="dracula"]
8181
.root
8282
border-left 1px solid $ui-dracula-borderColor
8383
background-color $ui-dracula-noteDetail-backgroundColor
84-
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
84+

browser/main/Detail/NoteDetailInfo.styl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,12 @@ body[data-theme="monokai"]
107107
body[data-theme="dracula"]
108108
.info
109109
border-color $ui-dracula-borderColor
110-
background-color $ui-dracula-noteDetail-backgroundColor
110+
background-color $ui-dracula-noteDetail-backgroundColor
111+
112+
.info > div
113+
> button
114+
-webkit-user-drag none
115+
user-select none
116+
> img, span
117+
-webkit-user-drag none
118+
user-select none

browser/main/Detail/ToggleModeButton.styl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,10 @@ body[data-theme="dracula"]
7575
.active
7676
background-color #bd93f9
7777
box-shadow 2px 0px 7px #222222
78+
79+
.control-toggleModeButton
80+
-webkit-user-drag none
81+
user-select none
82+
> div img
83+
-webkit-user-drag none
84+
user-select none

0 commit comments

Comments
 (0)