From 463da5614d49cbb721e8690fe33d9ba91d10a592 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Fri, 24 Jan 2025 10:48:00 +0100 Subject: [PATCH] Remove bootstrap classes from shared code (#12906) Migrates the following components to not use bootstrap. - apps/web/src/app/components/environment-selector/environment-selector.component.html - apps/web/src/app/layouts/frontend-layout.component.html - apps/web/src/app/layouts/org-switcher/org-switcher.component.html - apps/web/src/app/settings/domain-rules.component.html - bitwarden_license/bit-web/src/app/secrets-manager/projects/project/project-secrets.component.html - bitwarden_license/bit-web/src/app/secrets-manager/settings/porting/sm-import.component.html --- .../environment-selector.component.html | 3 +-- .../web/src/app/layouts/frontend-layout.component.html | 10 ++++++---- .../layouts/org-switcher/org-switcher.component.html | 4 ++-- apps/web/src/app/settings/domain-rules.component.html | 2 +- .../projects/project/project-secrets.component.html | 2 +- .../settings/porting/sm-import.component.html | 4 +--- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/apps/web/src/app/components/environment-selector/environment-selector.component.html b/apps/web/src/app/components/environment-selector/environment-selector.component.html index a1fb1a8a0f3..91675bd4945 100644 --- a/apps/web/src/app/components/environment-selector/environment-selector.component.html +++ b/apps/web/src/app/components/environment-selector/environment-selector.component.html @@ -6,10 +6,9 @@ [attr.href]=" region == currentRegion ? 'javascript:void(0)' : region.urls.webVault + routeAndParams " - class="pr-4" > diff --git a/apps/web/src/app/layouts/frontend-layout.component.html b/apps/web/src/app/layouts/frontend-layout.component.html index 72f0f1f1da3..d19af54f5df 100644 --- a/apps/web/src/app/layouts/frontend-layout.component.html +++ b/apps/web/src/app/layouts/frontend-layout.component.html @@ -1,6 +1,8 @@ -
+ +
- © {{ year }} Bitwarden Inc.
- {{ "versionNumber" | i18n: version }} -
+ +
© {{ year }} Bitwarden Inc.
+
{{ version }}
+ diff --git a/apps/web/src/app/layouts/org-switcher/org-switcher.component.html b/apps/web/src/app/layouts/org-switcher/org-switcher.component.html index f34d32f5983..ef702c7e593 100644 --- a/apps/web/src/app/layouts/org-switcher/org-switcher.component.html +++ b/apps/web/src/app/layouts/org-switcher/org-switcher.component.html @@ -10,7 +10,7 @@ @@ -27,7 +27,7 @@ diff --git a/apps/web/src/app/settings/domain-rules.component.html b/apps/web/src/app/settings/domain-rules.component.html index a3bea63fb86..7e9e7d6ed64 100644 --- a/apps/web/src/app/settings/domain-rules.component.html +++ b/apps/web/src/app/settings/domain-rules.component.html @@ -43,7 +43,7 @@

{{ "customEqDomains" | i18n }}

-

{{ "globalEqDomains" | i18n }}

+

{{ "globalEqDomains" | i18n }}