Elffuss BraidHub

kikocis/continue public

feat: tweak styling on context status
Changesetcc830390981b010b09ec94762ed3e15f1d871d2c864ccf7d543dea5272b3b8e8
AuthorDallin Romney <dallinromney@gmail.com> · 2025-07-18 18:55 +02:00
CommitterDallin Romney <dallinromney@gmail.com> · 2025-07-18 18:55 +02:00
Parentsf039cbc5d7e3

Browse the files at this changeset

1 file changed

modified gui/src/components/mainInput/ContextStatus.tsx +5 −5
@@ -1,6 +1,6 @@
1-import { Tooltip } from "react-tooltip";
21 import { useAppDispatch, useAppSelector } from "../../redux/hooks";
32 import { saveCurrentSession } from "../../redux/thunks/session";
3+import { ToolTip } from "../gui/Tooltip";
44
55 const ContextStatus = () => {
66 const dispatch = useAppDispatch();
@@ -22,7 +22,7 @@
2222
2323 return (
2424 <div>
25- <Tooltip
25+ <ToolTip
2626 id="context-status"
2727 closeEvents={{
2828 // blur: false,
@@ -47,7 +47,7 @@
4747 <span
4848 className="inline-block cursor-pointer underline"
4949 onClick={() => {
50- dispatch(
50+ void dispatch(
5151 saveCurrentSession({
5252 openNewSession: true,
5353 generateTitle: false,
@@ -60,10 +60,10 @@
6060 </div>
6161 )}
6262 </div>
63- </Tooltip>
63+ </ToolTip>
6464 <div
6565 data-tooltip-id="context-status"
66- className="border-description-muted relative h-[10px] w-[5px] rounded-[1px] border-[0.5px] border-solid"
66+ className="border-description-muted relative h-[14px] w-[7px] rounded-[1px] border-[0.5px] border-solid md:h-[10px] md:w-[5px]"
6767 >
6868 <div
6969 className={`transition-height absolute bottom-0 left-0 w-full duration-300 ease-in-out ${barColorClass}`}