From 734505c133782a2a27c3b499c7d0f673922a7268 Mon Sep 17 00:00:00 2001 From: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com> Date: Mon, 15 Feb 2021 17:20:13 +0100 Subject: [PATCH] fix: button casing --- app/assets/stylesheets/_sn.scss | 1 + app/assets/stylesheets/_ui.scss | 4 ++++ app/assets/templates/directives/account-menu.pug | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/_sn.scss b/app/assets/stylesheets/_sn.scss index 735334c0f..420dd8b24 100644 --- a/app/assets/stylesheets/_sn.scss +++ b/app/assets/stylesheets/_sn.scss @@ -4,6 +4,7 @@ @extend .border-0; @extend .bg-main; @extend .cursor-pointer; + @extend .capitalize; @extend .font-bold; @extend .py-2; @extend .px-3; diff --git a/app/assets/stylesheets/_ui.scss b/app/assets/stylesheets/_ui.scss index 5b35658a3..8ee59b19d 100644 --- a/app/assets/stylesheets/_ui.scss +++ b/app/assets/stylesheets/_ui.scss @@ -146,6 +146,10 @@ $screen-md-max: ($screen-lg-min - 1) !default; background-color: transparent; } +.capitalize { + text-transform: capitalize; +} + .col-start-1 { grid-column-start: 1; } diff --git a/app/assets/templates/directives/account-menu.pug b/app/assets/templates/directives/account-menu.pug index 1941afa56..f5dbf61e2 100644 --- a/app/assets/templates/directives/account-menu.pug +++ b/app/assets/templates/directives/account-menu.pug @@ -176,7 +176,7 @@ | like entering your account password or application passcode. .sk-panel-row(ng-if="self.state.protectionsDisabledUntil") button.sk-button.info(ng-click="self.enableProtections()") - span.sk-label Enable protections + span.sk-label.capitalize Enable protections .sk-panel-section .sk-panel-section-title Passcode Lock div(ng-if='!self.state.hasPasscode')