fix: layouts

This commit is contained in:
Mahyar Khanbolooki
2025-07-22 00:36:20 +03:30
parent 13a3c3ce8a
commit 2454107da0
15 changed files with 167 additions and 82 deletions
+8 -2
View File
@@ -56,8 +56,14 @@ function ChatIndex() {
return (
<section ref={containerRef} className="h-full pb-8 relative overflow-hidden">
<section ref={containerRef} className="h-full relative">
<section className="relative h-full w-full mt-7">
<motion.div
className='size-[1145px] rounded-full fixed top-1/2 left-1/2 -translate-1/2'
style={{ background: 'linear-gradient(180deg, #EAECF0 4.52%, #DBDEE8 95.02%)', willChange: 'transform' }}
>
</motion.div>
<motion.div
animate={{ scale: [1, 0.95, 1] }}
transition={{ repeat: Infinity, duration: 13 }}
@@ -108,7 +114,7 @@ function ChatIndex() {
>
</motion.div>
<div className='grid grid-cols-6 grid-rows-6'>
<div>
{positions.length === users.length &&
users.map((v, i) => (
<Link