diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-12-22 12:35:54 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-27 21:44:07 +0100 |
commit | 2f3e24d71ec9797a8c770d4920f74de5bf69f4a4 (patch) | |
tree | 88a9e940401dd8e41b2aa7307c5cb194f779bbe1 /Userland/Libraries/LibWeb | |
parent | d702678d16753f9bb81c6a46cffe0cb43133c267 (diff) | |
download | serenity-2f3e24d71ec9797a8c770d4920f74de5bf69f4a4.zip |
LibWeb: Add rudimentary styling to `<details>` and `<summary>`
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Default.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index d0ff729b4b..3ba22059cf 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -233,3 +233,13 @@ input[type=text] { option { display: none; } + +details { + display: block; + padding-left: 1em; +} + +summary { + display: block; + font-weight: bold; +} |