diff --git a/apps/web/src/controllers/ReasoningController/ReasoningScrollToBottom.tsx b/apps/web/src/components/ui/buttons/ScrollToBottomButton.tsx
similarity index 77%
rename from apps/web/src/controllers/ReasoningController/ReasoningScrollToBottom.tsx
rename to apps/web/src/components/ui/buttons/ScrollToBottomButton.tsx
index 923579c8a..b094d6f24 100644
--- a/apps/web/src/controllers/ReasoningController/ReasoningScrollToBottom.tsx
+++ b/apps/web/src/components/ui/buttons/ScrollToBottomButton.tsx
@@ -3,18 +3,20 @@ import { ChevronDown } from '@/components/ui/icons';
import { AppTooltip } from '@/components/ui/tooltip';
import { cn } from '@/lib/classMerge';
-export const ReasoningScrollToBottom: React.FC<{
+export const ScrollToBottomButton: React.FC<{
isAutoScrollEnabled: boolean;
scrollToBottom: () => void;
-}> = React.memo(({ isAutoScrollEnabled, scrollToBottom }) => {
+ className?: string;
+}> = React.memo(({ isAutoScrollEnabled, scrollToBottom, className }) => {
return (
-
diff --git a/apps/web/src/controllers/ReportPageControllers/ReportPageController.tsx b/apps/web/src/controllers/ReportPageControllers/ReportPageController.tsx
index ca675b764..e5badb834 100644
--- a/apps/web/src/controllers/ReportPageControllers/ReportPageController.tsx
+++ b/apps/web/src/controllers/ReportPageControllers/ReportPageController.tsx
@@ -10,9 +10,7 @@ import { type IReportEditor } from '@/components/ui/report/ReportEditor';
import { ReportEditorSkeleton } from '@/components/ui/report/ReportEditorSkeleton';
import { useChatIndividualContextSelector } from '@/layouts/ChatLayout/ChatContext';
import { useTrackAndUpdateReportChanges } from '@/api/buster-electric/reports/hooks';
-import { ShimmerText } from '@/components/ui/typography/ShimmerText';
import { GeneratingContent } from './GeneratingContent';
-import { useHotkeys } from 'react-hotkeys-hook';
export const ReportPageController: React.FC<{
reportId: string;
diff --git a/apps/web/src/styles/tailwindAnimations.css b/apps/web/src/styles/tailwindAnimations.css
index ff9a9458b..0a86ace6c 100644
--- a/apps/web/src/styles/tailwindAnimations.css
+++ b/apps/web/src/styles/tailwindAnimations.css
@@ -60,21 +60,16 @@
}
}
-/*
- highlightFade animation:
- - Animates a highlight background and a bottom border only (no outline).
- - The border is only on the bottom, not using outline.
-*/
@keyframes highlightFade {
0% {
/* Use highlight background, fallback to brand, then yellow */
background-color: var(--color-highlight-background, var(--color-purple-100, yellow));
- /* Only bottom border is visible at start */
- border-bottom: 1px solid var(--color-highlight-border, var(--color-purple-200, yellow));
+ /* Use box-shadow instead of border - doesn't take up space */
+ box-shadow: 0 1.5px 0 0 var(--color-highlight-border, var(--color-purple-300, yellow));
}
100% {
background-color: var(--color-highlight-to-background, transparent);
- border-bottom: 0px solid var(--color-highlight-to-border, transparent);
+ box-shadow: 0 0 0 0 var(--color-highlight-to-border, transparent);
}
}