Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit fc5b2a1

Browse files
feat: no select action on tools
1 parent 82847a8 commit fc5b2a1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

studio/src/app/components/editor/app-editor-toolbar/app-editor-toolbar.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ app-editor-toolbar {
1616
a {
1717
cursor: pointer;
1818

19+
-webkit-user-select: none;
20+
-moz-user-select: none;
21+
-ms-user-select: none;
22+
-o-user-select: none;
23+
user-select: none;
24+
1925
border-radius: 50%;
2026
border: 1px solid var(--ion-color-primary);
2127

webcomponents/inline-editor/src/components/inline-editor/deckdeckgo-inline-editor.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ div.deckgo-tools {
6464
font-size: var(--deckgo-inline-editor-button-font-size, 1.4rem);
6565
font-family: var(--deckgo-inline-editor-button-font-family, inherit);
6666

67+
-webkit-user-select: none;
68+
-moz-user-select: none;
69+
-ms-user-select: none;
70+
-o-user-select: none;
71+
user-select: none;
72+
6773
&.italic {
6874
font-style: italic;
6975
}

0 commit comments

Comments
 (0)