diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index ac5b178688..51c1855594 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -26,7 +26,7 @@ label { } /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */ -input, textarea { +input:not([type=submit], input[type=button], input[type=reset], input[type=checkbox], input[type=radio]), textarea { border: 1px solid ButtonBorder; min-width: 80px; min-height: 16px; @@ -44,14 +44,6 @@ textarea { height: attr(rows lh, 2lh); } -input[type=submit], input[type=button], input[type=reset], input[type=checkbox], input[type=radio] { - border: none; - min-width: unset; - min-height: unset; - width: unset; - cursor: unset; -} - input::placeholder { color: GrayText; }