1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

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.
This commit is contained in:
Andreas Kling 2022-10-06 14:55:41 +02:00
parent 34a2797211
commit 8a3ca6416d

View file

@ -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;