Browse Source

LibWeb: Make labels be `display: inline-block` in the default UA style

This is weird, but matches the behavior we've had so far. Leaving a
FIXME about how this doesn't seem right.
Andreas Kling 2 năm trước cách đây
mục cha
commit
8a3ca6416d
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      Userland/Libraries/LibWeb/CSS/Default.css

+ 5 - 0
Userland/Libraries/LibWeb/CSS/Default.css

@@ -20,6 +20,11 @@ blink {
     display: inline;
 }
 
+/* FIXME: This doesn't seem right. */
+label {
+    display: inline-block;
+}
+
 /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
 input, textarea {
     border: 1px solid -libweb-palette-threed-shadow1;