Browse Source

Fix elephant graphic being draggable and selectable (#6819)

pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
3b440bd5af
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/compose/index.js
  2. +3
    -0
      app/javascript/styles/mastodon/components.scss

+ 1
- 1
app/javascript/mastodon/features/compose/index.js 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>

+ 3
- 0
app/javascript/styles/mastodon/components.scss View File

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

Loading…
Cancel
Save