about summary refs log tree commit diff
diff options
context:
space:
mode:
authorcpsdqs <cpsdqs@gmail.com>2017-12-24 00:53:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-12-24 00:53:03 +0100
commit8528fd89d21673a94f12b599936d1238f6b80ce5 (patch)
treefdbd96c91c3ad7087de7bf91cf2d1e2154400aa7
parent9592b5e31e19ce470252ade7b8df73625e2592e6 (diff)
Move dropdown transform origin to top edge (#6091)
-rw-r--r--app/javascript/styles/mastodon/components.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index be1df46fc..12919e7e8 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -214,6 +214,7 @@
 
 .dropdown-menu {
   position: absolute;
+  transform-origin: 50% 0;
 }
 
 .dropdown--active .icon-button {
@@ -2943,6 +2944,7 @@ button.icon-button.active i.fa-retweet {
   border-radius: 4px;
   margin-left: 40px;
   overflow: hidden;
+  transform-origin: 50% 0;
 }
 
 .privacy-dropdown__option {