Fix elephant graphic being draggable and selectable (#6819)

rebase/4.0.0rc2
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 /> <ComposeFormContainer />
{multiColumn && ( {multiColumn && (
<div className='drawer__inner__mastodon'> <div className='drawer__inner__mastodon'>
<img alt='' src={elephantUIPlane} /> <img alt='' draggable='false' src={elephantUIPlane} />
</div> </div>
)} )}
</div> </div>

View File

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