fix style

This commit is contained in:
open-trade
2022-02-08 13:58:42 +08:00
parent 6c05f72d90
commit 6143a3c649
2 changed files with 1 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ class Header: Reactor.Component {
var title = get_id();
if (pi.hostname) title += "(" + pi.username + "@" + pi.hostname + ")";
if ((pi.displays || []).length == 0) {
return <div .ellipsis style="size:*;text-align:center;margin:*;">{title}</div>;
return <div .ellipsis style="size:*;text-align:center;margin:* 0;">{title}</div>;
}
var screens = pi.displays.map(function(d, i) {
return <div #screen class={pi.current_display == i ? "current" : ""}>