From 3eb6016ddac5ec7b38d3bff41e655c36f7fe2758 Mon Sep 17 00:00:00 2001 From: Daniel Lemos Date: Wed, 9 Mar 2022 10:00:05 -0300 Subject: [PATCH] LibWeb: Add some default style for diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 48da06eb4f..7ec47402fd 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -72,6 +72,7 @@
  • blink
  • br
  • progressbar
  • +
  • textarea
  • CSS

    diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index f66dc9f372..9e0a40e339 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -222,7 +222,7 @@ ol { } /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */ -input { +input, textarea { border: 1px solid black; min-width: 80px; min-height: 16px; @@ -231,6 +231,12 @@ input { overflow: hidden; } +textarea { + padding: 2px; + display: inline-block; + overflow: scroll; +} + input[type=submit], input[type=button], input[type=reset], input[type=checkbox], input[type=radio] { border: none; min-width: unset;