diff options
author | kedama <kedama@foresdon.jp> | 2019-04-22 21:55:50 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-22 14:55:50 +0200 |
commit | d763d39d2628bef123cdc801b2a3a3922b7e37f2 (patch) | |
tree | 95c8f9c539866c8624783e99dff447a4dca587a4 /app/javascript/styles | |
parent | bdec58b514a18779c931d20f947e7ca80b29e8b4 (diff) |
Fix modal items cannot scroll on touch devices (#10605)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index e697ba554..0b1fd3652 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -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; |