From c5707de2fdc4011ed4f17d47745fc119d17847f6 Mon Sep 17 00:00:00 2001 From: Sylvie Crowe <107814465+oneirocosm@users.noreply.github.com> Date: Wed, 31 Jul 2024 23:50:38 -0700 Subject: [PATCH] Fixes For the Demo (#190) --- frontend/app/block/block.less | 7 ++++++- frontend/app/view/helpview.tsx | 2 -- frontend/app/workspace/workspace.tsx | 3 --- pkg/service/clientservice/clientservice.go | 3 +-- pkg/wconfig/settingsconfig.go | 20 -------------------- 5 files changed, 7 insertions(+), 28 deletions(-) diff --git a/frontend/app/block/block.less b/frontend/app/block/block.less index 1b045829..54d0137c 100644 --- a/frontend/app/block/block.less +++ b/frontend/app/block/block.less @@ -94,6 +94,9 @@ align-items: center; gap: 8px; color: var(--main-text-color); + flex: 1 1 auto; + overflow-x: hidden; + min-width: 0; .block-frame-view-icon { font-size: var(--header-icon-size); @@ -122,7 +125,9 @@ .block-frame-textelems-wrapper { display: flex; - flex-grow: 1; + flex: 1 100 auto; + overflow-x: hidden; + min-width: 0; gap: 8px; height: 20px; align-items: center; diff --git a/frontend/app/view/helpview.tsx b/frontend/app/view/helpview.tsx index 0724a49a..e2792f5b 100644 --- a/frontend/app/view/helpview.tsx +++ b/frontend/app/view/helpview.tsx @@ -6,8 +6,6 @@ import { Markdown } from "../element/markdown"; import "./helpview.less"; const helpText = ` -# Help - ## Blocks Every individual Component is contained in its own block. These can be added, removed, moved and resized. Each block has its own header which can be right clicked to reveal more operations you can do with that block. diff --git a/frontend/app/workspace/workspace.tsx b/frontend/app/workspace/workspace.tsx index 9b2acdae..007f2d6f 100644 --- a/frontend/app/workspace/workspace.tsx +++ b/frontend/app/workspace/workspace.tsx @@ -99,9 +99,6 @@ const Widgets = React.memo(() => { {!util.isBlank(data.label) ?