From 6143a3c649d24bd257258ab6122ac22f01c28fa9 Mon Sep 17 00:00:00 2001 From: open-trade Date: Tue, 8 Feb 2022 13:58:42 +0800 Subject: [PATCH] fix style --- src/ui/common.css | 5 ----- src/ui/header.tis | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ui/common.css b/src/ui/common.css index 587ccc957..318ac0bb3 100644 --- a/src/ui/common.css +++ b/src/ui/common.css @@ -25,11 +25,6 @@ body { color: color(text); } -div { - word-wrap: break-word; - // word-break: break-all; // this will break english word -} - button.button { height: 2em; border-radius: 0.5em; diff --git a/src/ui/header.tis b/src/ui/header.tis index de1d76f5c..1f665165f 100644 --- a/src/ui/header.tis +++ b/src/ui/header.tis @@ -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
{title}
; + return
{title}
; } var screens = pi.displays.map(function(d, i) { return