move widgets back to right hand side

This commit is contained in:
sawka 2024-08-22 11:30:18 -07:00
parent d8f4292a38
commit 9e7df9787d
2 changed files with 5 additions and 4 deletions

View File

@ -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);
}

View File

@ -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(() => {
<CenteredDiv>No Active Tab</CenteredDiv>
) : (
<>
<Widgets />
<TabContent key={activeTabId} tabId={activeTabId} />
<Widgets />
<ModalsRenderer />
</>
)}