Skip to content

Commit

Permalink
Fix textarea height
Browse files Browse the repository at this point in the history
Original Adminer has hardcoded textarea height for SQLite text input.

Fix issue #21
  • Loading branch information
peterpp committed Sep 9, 2024
1 parent 3a91bfb commit 019f5e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/css/default-blue.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/css/default-green.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/css/default-orange.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/inc/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ textarea, pre[contenteditable="true"], select {
box-sizing: border-box;
}

textarea {
height: auto !important;
}

// iOS hack
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], textarea {
-webkit-appearance: none;
Expand Down

0 comments on commit 019f5e6

Please sign in to comment.