commit: a20509b41e87219e6cf147bf880980794bff44da
parent: 281c577cf8cdbfccdb06daf6ede285b9aecc15f4
Author: Lynx Kotoura <admin@sanin.link>
Date: Thu, 7 Dec 2017 03:48:48 +0900
Fix list editor modal on narrow devices (#5904)
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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%);