]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Bootstrap 5: Override float attribute on legends
[rails.git] / app / assets / stylesheets / common.scss
index d6331781286322da32ce55b1833783fa63f54f19..03fe7bd42a9c12f33a147fb4164eed25c4991af2 100644 (file)
@@ -686,6 +686,11 @@ form {
   }
 }
 
+/* Stop bootstrap 5 from floating legends when they don't need to be */
+legend {
+  float: none;
+}
+
 /* Rules for the search and direction forms */
 
 header .search_forms,