fix style

This commit is contained in:
rustdesk 2022-02-01 18:33:18 +08:00
parent 3112792b7b
commit 7d14ce98e1
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ class MyIdMenu: Reactor.Component {
var old_value = handler.get_option("whitelist").split(",").join("\n");
msgbox("custom-whitelist", translate("IP Whitelisting"), "<div .form> \
<div>" + translate("whitelist_sep") + "</div> \
<textarea spellcheck=\"false\" name=\"text\" novalue=\"0.0.0.0\" style=\"overflow: scroll-indicator; width:*; height: 160px; font-size: 1.2em; padding: 0.5em;\">" + old_value + "</textarea>\
<textarea spellcheck=\"false\" name=\"text\" novalue=\"0.0.0.0\" style=\"overflow: scroll-indicator; width:*; height: 140px; font-size: 1.2em; padding: 0.5em;\">" + old_value + "</textarea>\
</div> \
", function(res=null) {
if (!res) return;

View File

@ -42,7 +42,7 @@ class MsgboxComponent: Reactor.Component {
if (this.type.indexOf("error") >= 0 || this.type == "re-input-password") {
return <svg viewBox="0 0 512 512"><ellipse cx="256" cy="256" rx="256" ry="255.832" fill={color}/><g fill="#fff"><path d="M376.812 337.18l-39.592 39.593-201.998-201.999 39.592-39.592z"/><path d="M376.818 174.825L174.819 376.824l-39.592-39.592 201.999-201.999z"/></g></svg>;
}
return <span />;
return null;
}
function getInputPasswordContent() {