Bootstrap 5: Override float attribute on legends

I don't fully understand why bootstrap added this in v5, as the
discussion on the issue tracker isn't clear. But we neither want
nor need this.
This commit is contained in:
Andy Allan 2022-06-29 15:29:42 +01:00
parent 02a6ec60ec
commit a4af46ef47

View 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 */ /* Rules for the search and direction forms */
header .search_forms, header .search_forms,