mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
move widgets back to right hand side
This commit is contained in:
parent
d8f4292a38
commit
9e7df9787d
@ -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);
|
||||
}
|
||||
|
@ -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 />
|
||||
</>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user