mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:57:47 +00:00
LibWeb: Improve display of input elements
* Display input[type=reset] as a button * Display allother input elements as text entry boxes * Set overflow: hidden on input elements
This commit is contained in:
parent
8edade071d
commit
240068a48c
2 changed files with 15 additions and 4 deletions
|
@ -211,10 +211,21 @@ ol ol ul {
|
|||
}
|
||||
|
||||
/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
|
||||
input[type=text] {
|
||||
input {
|
||||
border: 1px solid black;
|
||||
min-width: 80px;
|
||||
min-height: 16px;
|
||||
width: 120px;
|
||||
cursor: text;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
option {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue