LP2000485 Bootstrap 5: Style input group + label
authorStephanie Leary <stephanie.leary@equinoxoli.org>
Wed, 1 Mar 2023 20:35:45 +0000 (20:35 +0000)
committerStephanie Leary <stephanie.leary@equinoxoli.org>
Wed, 1 Mar 2023 20:35:45 +0000 (20:35 +0000)
Bootstrap input groups are not intended to be used with labels, but we
are doing so to provide screen reader support without (yet) redesigning
all our form layouts. This style removes extra padding and borders on
labels inside input groups.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Open-ILS/src/eg2/src/styles.css

index 6061fc7..c0a2936 100644 (file)
@@ -424,3 +424,9 @@ input.small {
 a {
   text-decoration: none;
 }
+
+.input-group-text label {
+  border: 0;
+  margin: 0;
+  padding: 0;
+}
\ No newline at end of file