fixed my propries page and fixed the sidebar again mouaz is the best in the west
All checks were successful
Build frontend / build (push) Successful in 41s

This commit is contained in:
mouazkh
2026-05-25 22:19:03 +03:00
parent 7a3248aec5
commit 9d8ccbac3c
2 changed files with 8 additions and 5 deletions

View File

@ -29,8 +29,10 @@ export default function FloatingSidebar({ isRTL, isAdmin }) {
const positionStyle = {
left: '16px',
top: '50%',
transform: 'translateY(-50%)',
top: 0,
bottom: 0,
display: 'flex',
alignItems: 'center',
};
const cardVariants = {
@ -55,13 +57,13 @@ export default function FloatingSidebar({ isRTL, isAdmin }) {
return (
<motion.div
className="fixed z-50"
className="fixed z-50 pointer-events-none"
style={positionStyle}
variants={cardVariants}
initial="initial"
animate="animate"
>
<div className="bg-white/90 backdrop-blur-md rounded-2xl shadow-lg border border-gray-200/60 py-4 px-3 flex flex-col gap-4 transition-all duration-300 hover:shadow-xl hover:bg-white/95">
<div className="bg-white/90 backdrop-blur-md rounded-2xl shadow-lg border border-gray-200/60 py-4 px-3 flex flex-col gap-4 transition-all duration-300 hover:shadow-xl hover:bg-white/95 max-h-[75vh] overflow-y-auto pointer-events-auto">
{isAdmin ? (
<>
<motion.div