Skip to content

Commit

Permalink
use textarea input to enter template values (see #1504)
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Jul 22, 2024
1 parent 60f2c5d commit 3f35e4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/ui/pages/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ button:not([disabled]):hover {
button,
select,
input[type=text],
textarea,
input[type=password] {
background-color: transparent;
border-color: rgb(191, 191, 191);
Expand All @@ -42,6 +43,12 @@ input[type=password] {
color: black;
}

textarea {
width: 100%;
height: 2.4em;
resize: vertical;
}

input[type=checkbox] {
margin-bottom: 1px;
}
Expand Down Expand Up @@ -674,6 +681,7 @@ html.maximized {
}

input[type="text"],
textarea,
input[type="password"] {
background-color: #fff;
}
Expand Down
4 changes: 2 additions & 2 deletions src/ui/pages/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3>
<summary id="filenameLabel"></summary>
<div class="option vertical">
<label for="filenameTemplateInput" id="filenameTemplateLabel"></label>
<input type="text" id="filenameTemplateInput">
<textarea id="filenameTemplateInput"></textarea>
</div>
<div class="option">
<label for="filenameMaxLengthInput" id="filenameMaxLengthLabel"></label>
Expand Down Expand Up @@ -169,7 +169,7 @@ <h3>
</div>
<div class="option vertical">
<label for="infobarTemplateInput" id="infobarTemplateLabel"></label>
<input type="text" id="infobarTemplateInput">
<textarea id="infobarTemplateInput"></textarea>
</div>
<div class="option">
<label for="confirmInfobarInput" id="confirmInfobarLabel"></label>
Expand Down

0 comments on commit 3f35e4e

Please sign in to comment.