diff --git a/app/javascript/mastodon/features/compose/index.js b/app/javascript/mastodon/features/compose/index.js index 74f695fba..deb6748e4 100644 --- a/app/javascript/mastodon/features/compose/index.js +++ b/app/javascript/mastodon/features/compose/index.js @@ -40,7 +40,19 @@ let instanceMascot; if (mascot) { instanceMascot = ; } else { - instanceMascot = ; + instanceMascot = ; } export default @connect(mapStateToProps) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index d7e1722bf..a7c8a334b 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -2533,19 +2533,19 @@ a.account__display-name { min-height: 47px; display: none; - > img { + > img, svg { display: block; object-fit: contain; object-position: bottom left; width: 100%; - height: 100%; + height: auto; pointer-events: none; user-drag: none; user-select: none; } @media screen and (min-height: 640px) { - display: block; + display: flex; } } @@ -6597,11 +6597,10 @@ noscript { } .drawer__inner__mastodon svg#hometownlogo { - position: absolute; + box-sizing: border-box; fill: $secondary-text-color; - width: 100px; - height: 100px; - bottom: 0; + margin: 0 0 10px 10px; + align-self: flex-end; } div.status__content,