Browse Source

LibWeb: Add rudimentary styling to `<details>` and `<summary>`

Sam Atkins 3 years ago
parent
commit
2f3e24d71e
1 changed files with 10 additions and 0 deletions
  1. 10 0
      Userland/Libraries/LibWeb/CSS/Default.css

+ 10 - 0
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;
+}