Fix excessive hosting link padding

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-10-19 12:34:25 +01:00
parent b10f7a47fd
commit 30adc98a15
2 changed files with 5 additions and 1 deletions

View File

@ -230,6 +230,10 @@ limitations under the License.
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
&.mx_UserMenu_contextMenu_hostingLink {
padding-top: 0;
}
} }
.mx_IconizedContextMenu_icon { .mx_IconizedContextMenu_icon {

View File

@ -257,7 +257,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
const signupLink = getHostingLink("user-context-menu"); const signupLink = getHostingLink("user-context-menu");
if (signupLink) { if (signupLink) {
hostingLink = ( hostingLink = (
<div className="mx_UserMenu_contextMenu_header"> <div className="mx_UserMenu_contextMenu_header mx_UserMenu_contextMenu_hostingLink">
{_t( {_t(
"<a>Upgrade</a> to your own domain", {}, "<a>Upgrade</a> to your own domain", {},
{ {