fix style
This commit is contained in:
parent
6c05f72d90
commit
6143a3c649
@ -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;
|
||||
|
@ -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" : ""}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user