From fea4143af9c2d5d74d6b97649339558b525ed402 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 3 Aug 2021 15:16:47 +0530 Subject: [PATCH] Use texttransform Signed-off-by: RMidhunSuresh --- src/platform/web/ui/css/themes/element/theme.css | 1 + src/platform/web/ui/session/rightpanel/MemberDetailsView.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/platform/web/ui/css/themes/element/theme.css b/src/platform/web/ui/css/themes/element/theme.css index e0709475..b1ef7ab8 100644 --- a/src/platform/web/ui/css/themes/element/theme.css +++ b/src/platform/web/ui/css/themes/element/theme.css @@ -945,6 +945,7 @@ button.RoomDetailsView_row::after { font-size: 12px; font-weight: 600; color: #8d99a5; + text-transform: uppercase; } .MemberDetailsView_value, .MemberDetailsView_options { diff --git a/src/platform/web/ui/session/rightpanel/MemberDetailsView.js b/src/platform/web/ui/session/rightpanel/MemberDetailsView.js index c40b9173..32cdd0b6 100644 --- a/src/platform/web/ui/session/rightpanel/MemberDetailsView.js +++ b/src/platform/web/ui/session/rightpanel/MemberDetailsView.js @@ -27,8 +27,8 @@ export class MemberDetailsView extends TemplateView { [ t.view(new AvatarView(vm, 128)), t.div({className: "MemberDetailsView_name"}, t.h2(vm => vm.name)), t.div({className: "MemberDetailsView_id"}, vm.userId), - this._createSection(t, vm.i18n`ROLE`, vm => vm.role), - this._createSection(t, vm.i18n`SECURITY`, encryptionMessages[vm.isEncrypted]), + this._createSection(t, vm.i18n`Role`, vm => vm.role), + this._createSection(t, vm.i18n`Security`, encryptionMessages[vm.isEncrypted]), this._createOptions(t, vm) ]); } @@ -44,7 +44,7 @@ export class MemberDetailsView extends TemplateView { _createOptions(t, vm) { return t.div({ className: "MemberDetailsView_section" }, [ - t.div({className: "MemberDetailsView_label"}, vm.i18n`OPTIONS`), + t.div({className: "MemberDetailsView_label"}, vm.i18n`Options`), t.div({className: "MemberDetailsView_options"}, [ t.a({href: vm.linkToUser, target: "_blank", rel: "noopener"}, vm.i18n`Open Link to User`)