Fix elephant graphic being draggable and selectable (#6819)

This commit is contained in:
Eugen Rochko 2018-03-18 20:32:44 +01:00 committed by GitHub
parent 39f27b6cf3
commit 3b440bd5af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -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>

View file

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