diff --git a/apps/web/src/connectors/webauthn-fallback.html b/apps/web/src/connectors/webauthn-fallback.html
index 19d0a6a5ed..153491fad5 100644
--- a/apps/web/src/connectors/webauthn-fallback.html
+++ b/apps/web/src/connectors/webauthn-fallback.html
@@ -1,12 +1,15 @@
-
+
+
+
+
+
+
+
+
+
+
+
+ icon goes here
+
+
+
+
+
+
Title
+
+ Title
+
+
+
subtitle
+
+
+
+
diff --git a/apps/web/src/connectors/webauthn-fallback.ts b/apps/web/src/connectors/webauthn-fallback.ts
index 6f32bbaecf..31e031fa29 100644
--- a/apps/web/src/connectors/webauthn-fallback.ts
+++ b/apps/web/src/connectors/webauthn-fallback.ts
@@ -159,7 +159,7 @@ function success(message: string) {
}
function resetMsgBox(el: HTMLElement) {
- el.classList.remove("alert");
- el.classList.remove("alert-danger");
- el.classList.remove("alert-success");
+ el?.classList?.remove("alert");
+ el?.classList?.remove("alert-danger");
+ el?.classList?.remove("alert-success");
}
diff --git a/apps/web/src/connectors/webauthn.html b/apps/web/src/connectors/webauthn.html
index cc46e4932a..ab9a1f3aba 100644
--- a/apps/web/src/connectors/webauthn.html
+++ b/apps/web/src/connectors/webauthn.html
@@ -5,14 +5,13 @@
Bitwarden WebAuthn Connector
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/apps/web/src/scss/plugins.scss b/apps/web/src/scss/plugins.scss
index 5fbd32ac4e..ad996b0efa 100644
--- a/apps/web/src/scss/plugins.scss
+++ b/apps/web/src/scss/plugins.scss
@@ -12,7 +12,7 @@
}
#web-authn-frame {
- height: 315px;
+ height: 40px;
@include themify($themes) {
background: themed("imgLoading") 0 0 no-repeat;
}
diff --git a/apps/web/webpack.config.js b/apps/web/webpack.config.js
index 9373308c11..5c77c2cbad 100644
--- a/apps/web/webpack.config.js
+++ b/apps/web/webpack.config.js
@@ -94,7 +94,7 @@ const plugins = [
new HtmlWebpackPlugin({
template: "./src/connectors/webauthn.html",
filename: "webauthn-connector.html",
- chunks: ["connectors/webauthn"],
+ chunks: ["connectors/webauthn", "styles"],
}),
new HtmlWebpackPlugin({
template: "./src/connectors/webauthn-mobile.html",
@@ -104,7 +104,7 @@ const plugins = [
new HtmlWebpackPlugin({
template: "./src/connectors/webauthn-fallback.html",
filename: "webauthn-fallback-connector.html",
- chunks: ["connectors/webauthn-fallback"],
+ chunks: ["connectors/webauthn-fallback", "styles"],
}),
new HtmlWebpackPlugin({
template: "./src/connectors/sso.html",