diff --git a/core/modules/contextual/css/contextual.module.css b/core/modules/contextual/css/contextual.module.css
index c2fac85..2a21e1b 100644
--- a/core/modules/contextual/css/contextual.module.css
+++ b/core/modules/contextual/css/contextual.module.css
@@ -4,7 +4,7 @@
  */
 
 .contextual-region {
-  position: inherit;
+  position: relative;
 }
 .contextual .trigger:focus {
   /* Override the .focusable position: static */
diff --git a/core/modules/toolbar/css/toolbar.module.css b/core/modules/toolbar/css/toolbar.module.css
index 69eb7c2..161dd68 100644
--- a/core/modules/toolbar/css/toolbar.module.css
+++ b/core/modules/toolbar/css/toolbar.module.css
@@ -56,6 +56,9 @@
   position: relative;
   z-index: 1250;
 }
+.toolbar-vertical {
+  position: inherit;
+}
 /* Position the admin toolbar absolutely when the configured standard breakpoint
  * is active. The toolbar container, that contains the bar and the trays, is
  * position absolutely so that it scrolls with the page. Otherwise, on smaller
