about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorLynx Kotoura <admin@sanin.link>2017-12-07 03:48:48 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-06 19:48:48 +0100
commita20509b41e87219e6cf147bf880980794bff44da (patch)
treee8a51b9f422d8b157ab2229f4976e062c841956b /app
parent281c577cf8cdbfccdb06daf6ede285b9aecc15f4 (diff)
Fix list editor modal on narrow devices (#5904)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/mastodon/components.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 7bcd04ac0..d72f53f36 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -4489,9 +4489,13 @@ noscript {
   flex-direction: column;
   border-radius: 8px;
   box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
-  width: 40vh;
+  width: 380px;
   overflow: hidden;
 
+  @media screen and (max-width: 420px) {
+    width: 90%;
+  }
+
   h4 {
     padding: 15px 0;
     background: lighten($ui-base-color, 13%);