From 5e1da4805f3f8da873e490b319980351bfae4c5c Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 9 Aug 2024 11:49:10 -0700 Subject: [PATCH] move widgets to left, fix some paddings --- frontend/app/tab/tabcontent.less | 2 +- frontend/app/workspace/workspace.less | 4 +++- frontend/app/workspace/workspace.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/app/tab/tabcontent.less b/frontend/app/tab/tabcontent.less index e9b8f1fb..e7ada760 100644 --- a/frontend/app/tab/tabcontent.less +++ b/frontend/app/tab/tabcontent.less @@ -11,7 +11,7 @@ justify-content: center; overflow: hidden; position: relative; - padding: 3px; + padding: 3px 3px 3px 0; .block-container { display: flex; diff --git a/frontend/app/workspace/workspace.less b/frontend/app/workspace/workspace.less index 8d77dcca..395662df 100644 --- a/frontend/app/workspace/workspace.less +++ b/frontend/app/workspace/workspace.less @@ -20,6 +20,7 @@ flex-direction: column; width: 50px; overflow: hidden; + padding-top: 4px; .widget { display: flex; @@ -27,10 +28,11 @@ justify-content: center; align-items: center; width: 100%; - padding: 8px 2px 8px 0; + padding: 8px 2px 8px 2px; color: var(--secondary-text-color); font-size: 20px; overflow: hidden; + border-radius: 4px; &:hover:not(.no-hover) { background-color: var(--highlight-bg-color); diff --git a/frontend/app/workspace/workspace.tsx b/frontend/app/workspace/workspace.tsx index 8ce6e096..a23e9cdd 100644 --- a/frontend/app/workspace/workspace.tsx +++ b/frontend/app/workspace/workspace.tsx @@ -116,8 +116,8 @@ const WorkspaceElem = React.memo(() => { No Active Tab ) : ( <> - + )}