From 9e7df9787dd489d0514c3b0eeaccee59be5cf671 Mon Sep 17 00:00:00 2001 From: sawka Date: Thu, 22 Aug 2024 11:30:18 -0700 Subject: [PATCH] move widgets back to right hand side --- frontend/app/workspace/workspace.less | 5 +++-- frontend/app/workspace/workspace.tsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/app/workspace/workspace.less b/frontend/app/workspace/workspace.less index 2d4eb16a..d8c22afb 100644 --- a/frontend/app/workspace/workspace.less +++ b/frontend/app/workspace/workspace.less @@ -22,6 +22,7 @@ overflow: hidden; padding-top: 4px; padding-bottom: 4px; + margin-left: -4px; .widget { display: flex; @@ -29,7 +30,7 @@ justify-content: center; align-items: center; width: 100%; - padding: 8px 2px 8px 2px; + padding: 8px 2px 8px 0px; color: var(--secondary-text-color); font-size: 20px; overflow: hidden; @@ -56,7 +57,7 @@ } .widget-divider { - margin-left: 6px; + margin-right: 2px; height: 2px; background-color: var(--border-color); } diff --git a/frontend/app/workspace/workspace.tsx b/frontend/app/workspace/workspace.tsx index 5add7b5f..ad9c9f9d 100644 --- a/frontend/app/workspace/workspace.tsx +++ b/frontend/app/workspace/workspace.tsx @@ -56,7 +56,7 @@ function isIconValid(icon: string): boolean { function getIconClass(icon: string): string { if (!isIconValid(icon)) { - return "fa fa-solid fa-question fa-fw"; + return "fa fa-regular fa-browser fa-fw"; } return `fa fa-solid fa-${icon} fa-fw`; } @@ -89,8 +89,8 @@ const WorkspaceElem = React.memo(() => { No Active Tab ) : ( <> - + )}