diff --git a/pkg/services/frontend/index.html b/pkg/services/frontend/index.html
index 0a589f81a49..b0364fcbac9 100644
--- a/pkg/services/frontend/index.html
+++ b/pkg/services/frontend/index.html
@@ -79,6 +79,7 @@
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
+ line-height: 1; /* prevent shift when css loads in that changes the body line-height */
}
.fs-variant-loader, .fs-variant-error, .fs-custom-domain-error {