diff --git a/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss b/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss index 211f384d61..143fad0465 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss @@ -1,5 +1,17 @@ +html { + height: 100%; +} + +// Prevent potential for layout shifts on a page with fixed 100% height. This +// can happen, for example, with the Grammarly extension in Firefox. +html.fixed-size-document { + position: fixed; + width: 100%; +} + body { position: relative; + min-height: 100%; } .content {