fixes as per @LianaHus comments

pull/5370/head
Joseph Izang 5 months ago
parent 0b3193e8a8
commit 8c4bfa2d4c
  1. 4
      libs/remix-ui/statusbar/src/css/statusbar.css
  2. 6
      libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx

@ -14,6 +14,10 @@
cursor: pointer;
}
.remixui_statusbar_aistatusdisabled {
text-decoration: line-through;
}
/**
* approximately same height with vscode statusbar
**/

@ -36,8 +36,10 @@ export default function AIStatus(props: AIStatusProps) {
tooltipText={copilotActive ? "Remix Copilot activated" : "Remix Copilot disabled."}
>
<div className="d-flex flex-row pr-2 text-white justify-content-center align-items-center remixui_statusbar_aistatus">
<span className={copilotActive === false ? "fa-regular fa-microchip-ai ml-1 text-white" : "fa-regular fa-microchip-ai ml-1"}></span>
<span className={copilotActive === false ? "small mx-1 text-white semi-bold" : "small mx-1 semi-bold" }>Remix Copilot</span>
<span className={copilotActive === false ? "fa-regular fa-microchip-ai ml-1 text-white remixui_statusbar_aistatusdisabled" : "fa-regular fa-microchip-ai ml-1"}></span>
<span className={copilotActive === false ? "small mx-1 text-white semi-bold" : "small mx-1 semi-bold" }>
{copilotActive === false ? 'Remix Copilot is disabled' : ''}
</span>
</div>
</CustomTooltip>
)

Loading…
Cancel
Save