popuppanel
lianahus 3 weeks ago
parent 5d0888ff99
commit 7c937b6e9a
  1. 2
      apps/remix-ide/src/app/components/popup-panel.tsx
  2. 7
      libs/remix-ui/statusbar/src/css/statusbar.css
  3. 10
      libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx

@ -81,7 +81,7 @@ export class PopupPanel extends AbstractPanel {
position: 'fixed', position: 'fixed',
bottom: '2rem', bottom: '2rem',
right: '3.5rem', right: '3.5rem',
zIndex: 2000, zIndex: 200,
boxShadow: '3px 3px var(--secondary), -0.1em 0 1.4em var(--secondary)' boxShadow: '3px 3px var(--secondary), -0.1em 0 1.4em var(--secondary)'
}} }}
data-id="popupPanelPluginsContainer" data-id="popupPanelPluginsContainer"

@ -1,9 +1,6 @@
.remixui_statusbar {
.remixui_statusbar_gitstatus { white-space: nowrap;
position: relative;
left: 20rem;
} }
.remixui_statusbar_gitstatus .remixui_statusbar_gitstatus
.remixui_statusbar_gitstatus:hover { .remixui_statusbar_gitstatus:hover {
cursor: pointer; cursor: pointer;

@ -91,13 +91,15 @@ export function RemixUIStatusBar({ statusBarPlugin }: RemixUIStatusBarProps) {
{ (platform !== appPlatformTypes.desktop) && <div className="remixui_statusbar bg-warning px-2 remixui_statusbar_custom_padding d-flex justify-center align-items-center"> { (platform !== appPlatformTypes.desktop) && <div className="remixui_statusbar bg-warning px-2 remixui_statusbar_custom_padding d-flex justify-center align-items-center">
<ScamAlertStatus refs={refs} getReferenceProps={getReferenceProps} /> <ScamAlertStatus refs={refs} getReferenceProps={getReferenceProps} />
</div> } </div> }
<div className="remixui_statusbar remixui_statusbar_gitstatus"> <div className='d-flex w-100 justify-content-between'>
<GitStatus plugin={statusBarPlugin} gitBranchName={gitBranchName} setGitBranchName={setGitBranchName} /> <div className="remixui_statusbar remixui_statusbar_gitstatus">
<GitStatus plugin={statusBarPlugin} gitBranchName={gitBranchName} setGitBranchName={setGitBranchName} />
</div>
</div> </div>
<div className="remixui_statusbar"> <div className="w-100 remixui_statusbar">
<DidYouKnow /> <DidYouKnow />
</div> </div>
<div className="remixui_statusbar d-flex align-items-center p-0"> <div className="remixui_statusbar d-flex w-100 justify-content-end p-0">
<div className="remixui_statusbar"> <div className="remixui_statusbar">
<AIStatus plugin={statusBarPlugin} aiActive={lightAiUp} isAiActive={isAiActive} setIsAiActive={setIsAiActive} /> <AIStatus plugin={statusBarPlugin} aiActive={lightAiUp} isAiActive={isAiActive} setIsAiActive={setIsAiActive} />
</div> </div>

Loading…
Cancel
Save