1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 00:08:39 +09:00

Fix the action with X button on compose form (#7826)

This commit is contained in:
Lynx Kotoura 2018-06-17 20:47:56 +09:00 committed by Eugen Rochko
parent 5e9d51c24b
commit 31e5d7efd7

View File

@ -4941,8 +4941,8 @@ noscript {
.navigation-bar { .navigation-bar {
& > a:first-child { & > a:first-child {
will-change: margin-top, margin-left, width; will-change: margin-top, margin-left, margin-right, width;
transition: margin-top $duration $delay, margin-left $duration ($duration + $delay); transition: margin-top $duration $delay, margin-left $duration ($duration + $delay), margin-right $duration ($duration + $delay);
} }
& > .navigation-bar__profile-edit { & > .navigation-bar__profile-edit {
@ -4975,8 +4975,7 @@ noscript {
padding-bottom: 0; padding-bottom: 0;
& > a:first-child { & > a:first-child {
margin-top: -50px; margin: -100px 10px 0 -50px;
margin-left: -40px;
} }
.navigation-bar__profile { .navigation-bar__profile {
@ -4985,7 +4984,7 @@ noscript {
.navigation-bar__profile-edit { .navigation-bar__profile-edit {
position: absolute; position: absolute;
margin-top: -50px; margin-top: -60px;
} }
.navigation-bar__actions { .navigation-bar__actions {
@ -4993,6 +4992,7 @@ noscript {
pointer-events: auto; pointer-events: auto;
opacity: 1; opacity: 1;
transform: scale(1.0, 1.0) translate(0, 0); transform: scale(1.0, 1.0) translate(0, 0);
bottom: 5px;
} }
.compose__action-bar .icon-button { .compose__action-bar .icon-button {