fix: modify right position of ScrollToBottom

make sure not overlapping with reply close button
pull/90/head
moonrailgun 2 years ago
parent 8ee1215a9a
commit e66591d022

@ -11,7 +11,7 @@ interface Props {
export const ScrollToBottom: React.FC<Props> = React.memo((props) => { export const ScrollToBottom: React.FC<Props> = React.memo((props) => {
return ( return (
<div <div
className="absolute right-6 bottom-18 px-3 py-2 rounded-full bg-white dark:bg-black bg-opacity-50 shadow cursor-pointer z-10 w-11 h-11 flex justify-center items-center text-2xl hover:bg-opacity-80" className="absolute right-10 bottom-18 px-3 py-2 rounded-full bg-white dark:bg-black bg-opacity-50 shadow cursor-pointer z-10 w-11 h-11 flex justify-center items-center text-2xl hover:bg-opacity-80"
onClick={props.onClick} onClick={props.onClick}
> >
<Icon icon="mdi:chevron-double-down" /> <Icon icon="mdi:chevron-double-down" />

Loading…
Cancel
Save