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

Commit 61eba5d

Browse files
committed
Add invite dialog style
1 parent 8129d3a commit 61eba5d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

res/css/views/dialogs/_InviteDialog.pcss

+5
Original file line numberDiff line numberDiff line change
@@ -452,3 +452,8 @@ limitations under the License.
452452
.mx_InviteDialog_identityServer {
453453
margin-top: 1em; /* TODO: Use a spacing variable */
454454
}
455+
456+
.mx_InviteDialog_oneThreepid {
457+
font-size: $font-12px;
458+
margin: $spacing-8 0;
459+
}

src/components/views/dialogs/InviteDialog.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,11 @@ export default class InviteDialog extends React.PureComponent<Props, IInviteDial
13631363
let onlyOneThreepidNote: React.ReactNode | null = null;
13641364

13651365
if (!this.canInviteMore() || (this.hasFilterAtLeastOneEmail() && !this.canInviteThirdParty())) {
1366-
onlyOneThreepidNote = <div>{_t("Invites by email can only be sent one at a time")}</div>;
1366+
onlyOneThreepidNote = (
1367+
<div className="mx_InviteDialog_oneThreepid">
1368+
{_t("Invites by email can only be sent one at a time")}
1369+
</div>
1370+
);
13671371
} else {
13681372
results = (
13691373
<div className="mx_InviteDialog_userSections">

0 commit comments

Comments
 (0)