client/options/other: tweak the "HTML Import Tags" section

This commit is contained in:
Adorian Doran 2025-03-04 01:48:09 +02:00
parent a97c8087a1
commit 6555add2aa

View File

@ -102,13 +102,20 @@ export const DEFAULT_ALLOWED_TAGS = [
];
const TPL = `
<div class="options-section">
<div class="html-import-tags-settings options-section">
<style>
.html-import-tags-settings .allowed-html-tags {
height: 150px;
margin-bottom: 12px;
font-family: monospace;
}
</style>
<h4>${t("import.html_import_tags.title")}</h4>
<p>${t("import.html_import_tags.description")}</p>
<textarea class="allowed-html-tags form-control" style="height: 150px; font-family: monospace;"
placeholder="${t("import.html_import_tags.placeholder")}"></textarea>
<textarea class="allowed-html-tags form-control" spellcheck="false"
placeholder="${t("import.html_import_tags.placeholder")}"></textarea>
<div>
<button class="btn btn-sm btn-secondary reset-to-default">