This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
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
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/mastodon/features/compose/index.js
+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
}
/
>
<
/
d
i
v
>
)
}
<
/
d
i
v
>
+ 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
;
}
}
Write
Preview
Loading…
Cancel
Save