Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 7752f92

Browse files
authored
Merge pull request #5336 from matrix-org/t3chguy/fix/15488
Fix excessive hosting link padding
2 parents bd1276c + 30adc98 commit 7752f92

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

res/css/structures/_UserMenu.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ limitations under the License.
230230
align-items: center;
231231
justify-content: center;
232232
}
233+
234+
&.mx_UserMenu_contextMenu_hostingLink {
235+
padding-top: 0;
236+
}
233237
}
234238

235239
.mx_IconizedContextMenu_icon {

src/components/structures/UserMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
257257
const signupLink = getHostingLink("user-context-menu");
258258
if (signupLink) {
259259
hostingLink = (
260-
<div className="mx_UserMenu_contextMenu_header">
260+
<div className="mx_UserMenu_contextMenu_header mx_UserMenu_contextMenu_hostingLink">
261261
{_t(
262262
"<a>Upgrade</a> to your own domain", {},
263263
{

0 commit comments

Comments
 (0)