diff options
author | Lynx Kotoura <admin@sanin.link> | 2018-06-17 20:47:56 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-17 13:47:56 +0200 |
commit | 31e5d7efd700547d27d0393264859fa02932a8dd (patch) | |
tree | 64e12794ef0be85153d1fa5603e8990e1f444d04 /app | |
parent | 5e9d51c24b176bfb38a9fc6a4e7212f43503693f (diff) |
Fix the action with X button on compose form (#7826)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 4bcd1dec7..28daac6a3 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -4941,8 +4941,8 @@ noscript { .navigation-bar { & > a:first-child { - will-change: margin-top, margin-left, width; - transition: margin-top $duration $delay, margin-left $duration ($duration + $delay); + will-change: margin-top, margin-left, margin-right, width; + transition: margin-top $duration $delay, margin-left $duration ($duration + $delay), margin-right $duration ($duration + $delay); } & > .navigation-bar__profile-edit { @@ -4975,8 +4975,7 @@ noscript { padding-bottom: 0; & > a:first-child { - margin-top: -50px; - margin-left: -40px; + margin: -100px 10px 0 -50px; } .navigation-bar__profile { @@ -4985,7 +4984,7 @@ noscript { .navigation-bar__profile-edit { position: absolute; - margin-top: -50px; + margin-top: -60px; } .navigation-bar__actions { @@ -4993,6 +4992,7 @@ noscript { pointer-events: auto; opacity: 1; transform: scale(1.0, 1.0) translate(0, 0); + bottom: 5px; } .compose__action-bar .icon-button { |