fix style

This commit is contained in:
rustdesk
2022-03-21 14:40:36 +08:00
parent c03c49d482
commit 9136b3e3f8
3 changed files with 12 additions and 8 deletions

View File

@@ -98,7 +98,7 @@ class MsgboxComponent: Reactor.Component {
self.timer(3ms, msgboxTimerFunc);
return (<div><div style="position: absolute; size:*; background:black; opacity:0.5;" />
<div style="size: *; position: absolute;">
<div style={"border: " + color + " solid 1px; background: white; margin: *; width:" + (this.width) + "px; height:" + (this.height) + "px"}>
<div style={"border: " + color + " solid 1px; background: white; margin: *; width:" + (this.width) + "px; min-height:" + (this.height) + "px"}>
<div .caption style={"background: " + color}>
{translate(this.title)}
</div>