Fix elephant graphic being draggable and selectable (#6819)

master
Eugen Rochko 6 years ago committed by GitHub
parent 39f27b6cf3
commit 3b440bd5af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/features/compose/index.js
  2. 3
      app/javascript/styles/mastodon/components.scss

@ -97,7 +97,7 @@ export default class Compose extends React.PureComponent {
<ComposeFormContainer />
{multiColumn && (
<div className='drawer__inner__mastodon'>
<img alt='' src={elephantUIPlane} />
<img alt='' draggable='false' src={elephantUIPlane} />
</div>
)}
</div>

@ -1842,6 +1842,9 @@
object-position: bottom left;
width: 100%;
height: 100%;
pointer-events: none;
user-drag: none;
user-select: none;
}
}

Loading…
Cancel
Save