Skip to content

Commit

Permalink
fix(ScrollToBottom): revert to absolute from fixed and change bottom …
Browse files Browse the repository at this point in the history
…values
  • Loading branch information
danny-avila committed Dec 1, 2023
1 parent 804d417 commit a9c9f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Messages/ScrollToBottom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function ScrollToBottom({ scrollHandler }: Props) {
return (
<button
onClick={scrollHandler}
className="absolute bottom-5 right-6 z-10 cursor-pointer rounded-full border border-gray-200 bg-gray-50 text-gray-600 dark:border-white/10 dark:bg-white/10 dark:text-gray-200 md:bottom-[180px] lg:fixed lg:bottom-[120px]"
className="absolute bottom-2 right-6 z-10 cursor-pointer rounded-full border border-gray-200 bg-gray-50 text-gray-600 dark:border-white/10 dark:bg-white/10 dark:text-gray-200"
>
<svg
stroke="currentColor"
Expand Down

0 comments on commit a9c9f96

Please sign in to comment.