This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix modal items cannot scroll on touch devices (
#10605
)
pull/4/head
kedama
5 years ago
committed by
Eugen Rochko
parent
bdec58b514
commit
d763d39d26
2 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/mastodon/features/ui/components/actions_modal.js
+5
-0
app/javascript/styles/mastodon/components.scss
+ 1
- 1
app/javascript/mastodon/features/ui/components/actions_modal.js
View File
@ -64,7 +64,7 @@ export default class ActionsModal extends ImmutablePureComponent {
<
div
className
=
'modal-root__modal actions-modal'
>
{
status
}
<
ul
>
<
ul
className
=
{
classNames
(
{
'with-status'
:
!
!
status
}
)
}
>
{
this
.
props
.
actions
.
map
(
this
.
renderAction
)
}
<
/
u
l
>
<
/
d
i
v
>
+ 5
- 0
app/javascript/styles/mastodon/components.scss
View File
@ -4085,6 +4085,11 @@ a.status-card.compact:hover {
ul
{
overflow-y
:
auto
;
flex-shrink
:
0
;
max-height
:
80vh
;
&
.
with-status
{
max-height
:
calc
(
80vh
-
75px
)
;
}
li
:
empty
{
margin
:
0
;
Write
Preview
Loading…
Cancel
Save