From 59c6f2da8333ebb93178e02cedb39320b07fd04c Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 23 Feb 2024 15:15:16 -0800 Subject: [PATCH] updates for cmdinput spacing, input-sep fonts --- src/app/common/themes/themes.less | 2 +- src/app/line/line.less | 2 +- src/app/line/lines.less | 8 +++++--- src/app/workspace/screen/screenview.less | 4 ++-- src/app/workspace/workspaceview.tsx | 1 - 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/app/common/themes/themes.less b/src/app/common/themes/themes.less index a5a38c886..ea46f77c8 100644 --- a/src/app/common/themes/themes.less +++ b/src/app/common/themes/themes.less @@ -16,7 +16,7 @@ @success-green: rgb(38, 97, 26); @error-red: #cc0000; @warning-yellow: #ffa500; -@textarea-background: #101010; +@textarea-background: #171717; @text-primary: #fff; @text-secondary: #c3c8c2; diff --git a/src/app/line/line.less b/src/app/line/line.less index 541d96582..4fb7d96e5 100644 --- a/src/app/line/line.less +++ b/src/app/line/line.less @@ -192,7 +192,7 @@ } .meta.meta-line1 { - color: rgba(@base-color, 0.6) !important; + color: @text-caption; } .meta.meta-line2 { diff --git a/src/app/line/lines.less b/src/app/line/lines.less index 6d2f3dcf2..18753307e 100644 --- a/src/app/line/lines.less +++ b/src/app/line/lines.less @@ -4,7 +4,7 @@ display: flex; flex-direction: column; overflow: auto; - padding: 0 0 10px 0; + padding: 0; flex-grow: 1; position: relative; overflow-x: hidden; @@ -35,8 +35,10 @@ .line-sep-labeled { display: flex; align-items: center; - margin-top: 1em; - color: rgba(@base-color, 0.5); + color: @text-caption; + font-family: var(--termfontfamily); + line-height: var(--termlineheight); + font-size: var(--termfontsize); } .line-sep-labeled::before, diff --git a/src/app/workspace/screen/screenview.less b/src/app/workspace/screen/screenview.less index 9f092f5e1..7e28a0994 100644 --- a/src/app/workspace/screen/screenview.less +++ b/src/app/workspace/screen/screenview.less @@ -17,7 +17,7 @@ right: 0; display: flex; flex-direction: column; - height: calc(100% - 0.5rem); + height: 100%; overflow: hidden; margin-left: 5px; padding-left: 5px; @@ -73,7 +73,7 @@ display: flex; flex-direction: column; position: absolute; - height: calc(100% - 0.5rem); + height: 100%; overflow-x: hidden; .rendermode-tag { diff --git a/src/app/workspace/workspaceview.tsx b/src/app/workspace/workspaceview.tsx index 6e811091a..80f53d9d8 100644 --- a/src/app/workspace/workspaceview.tsx +++ b/src/app/workspace/workspaceview.tsx @@ -36,7 +36,6 @@ class WorkspaceView extends React.Component<{}, {}> { if (cmdInputHeight == 0) { cmdInputHeight = MagicLayout.CmdInputHeight; // this is the base size of cmdInput (measured using devtools) } - cmdInputHeight += MagicLayout.CmdInputBottom; // reference to .cmd-input, bottom: 12px let isHidden = GlobalModel.activeMainView.get() != "session"; let mainSidebarModel = GlobalModel.mainSidebarModel;