From c2949e6d17a532ca2c6982a8146f0c32cb8255f0 Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 25 Jun 2020 10:49:45 -0500 Subject: [PATCH] ui: tweaks --- src/client/types/expression.raw.scss | 8 +++++++- src/client/types/expression.type-renderer.jsx | 2 +- src/common/resources/entity/entity.raw.scss | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/client/types/expression.raw.scss b/src/client/types/expression.raw.scss index 4cadb2c..4eaa50c 100644 --- a/src/client/types/expression.raw.scss +++ b/src/client/types/expression.raw.scss @@ -43,12 +43,12 @@ .paren { color: #999999; + line-height: 1.75em; } .invoke { display: flex; flex-direction: column; - padding-left: 1em; } .assign { @@ -56,6 +56,12 @@ align-items: center; } +.eql { + align-self: center; + color: #999999; + margin: 0 0.5em; +} + .op { align-self: flex-start; margin: 0.125em; diff --git a/src/client/types/expression.type-renderer.jsx b/src/client/types/expression.type-renderer.jsx index 757f2a5..bf7562d 100644 --- a/src/client/types/expression.type-renderer.jsx +++ b/src/client/types/expression.type-renderer.jsx @@ -154,7 +154,7 @@ const Expression = (props) => { { assign && ( - = + = ( diff --git a/src/common/resources/entity/entity.raw.scss b/src/common/resources/entity/entity.raw.scss index 3459220..3b74cd1 100644 --- a/src/common/resources/entity/entity.raw.scss +++ b/src/common/resources/entity/entity.raw.scss @@ -1,11 +1,12 @@ .document-pane { border-right: 1px solid #1a1a1a; + display: none; float: left; width: calc(100% - 36em); height: 100vh; } .settings-pane { - float: left; - width: 36em; + width: 100vw; + height: 100vh; }