Hide subscriptions

This commit is contained in:
Daniel García 2019-04-03 15:44:07 +02:00
parent 05e99b662e
commit 5579b1b33f
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
2 changed files with 5 additions and 2 deletions

View file

@ -63,7 +63,7 @@ git checkout $WEB_REF
npm run sub:update
## How to create patches
# git --no-pager diff --minimal > changes.patch
# git --no-pager diff --no-color --minimal > changes.patch
## How to apply patches
# git apply changes.patch

View file

@ -43,7 +43,7 @@ diff --git a/src/scss/styles.scss b/src/scss/styles.scss
index 3df655fd..7e57cffe 100644
--- a/src/scss/styles.scss
+++ b/src/scss/styles.scss
@@ -1,5 +1,34 @@
@@ -1,5 +1,37 @@
@import "../css/webfonts.css";
+/**** START Bitwarden_RS CHANGES ****/
@ -56,6 +56,9 @@ index 3df655fd..7e57cffe 100644
+/* Hide any link pointing to billing */
+a[href$="/settings/billing"] { @extend %bwrs-hide; }
+
+/* Hide any link pointing to subscriptions */
+a[href$="/settings/subscription"] { @extend %bwrs-hide; }
+
+/* Hide Two-Factor menu in Organization settings */
+app-org-settings a[href$="/settings/two-factor"] { @extend %bwrs-hide; }
+