From: Eugen Rochko Date: Sun, 18 Mar 2018 19:32:44 +0000 (+0100) Subject: Fix elephant graphic being draggable and selectable (#6819) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=3b440bd5af92682c388140035c1bcdc6f9711b1d;p=mastodon.git Fix elephant graphic being draggable and selectable (#6819) --- diff --git a/app/javascript/mastodon/features/compose/index.js b/app/javascript/mastodon/features/compose/index.js index 138bc4e2e..d5cd854db 100644 --- a/app/javascript/mastodon/features/compose/index.js +++ b/app/javascript/mastodon/features/compose/index.js @@ -97,7 +97,7 @@ export default class Compose extends React.PureComponent { {multiColumn && (
- +
)} diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 587fe62da..20e07a042 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -1842,6 +1842,9 @@ object-position: bottom left; width: 100%; height: 100%; + pointer-events: none; + user-drag: none; + user-select: none; } }