Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The world is bugged on small screens #11

Open
lazarevkristijan opened this issue Jul 15, 2023 · 2 comments
Open

The world is bugged on small screens #11

lazarevkristijan opened this issue Jul 15, 2023 · 2 comments

Comments

@lazarevkristijan
Copy link

I noticed that when i make my browser the smallest in width, the people icons positions are not good placed.

Also, the whole map is cut it isn't the whole world it shows only Africa.

Anyone found a fix for this?

@aman-lama
Copy link

aman-lama commented Aug 23, 2023

This worked for me.

In motion.div wrapping the map, remove h-[550px]

for 1st image i.e people-01

className="absolute bottom-[16%] right-[8%] w-[40px] md:w-[50px] lg:w-[70px] h-[40px] md:h-[50px] lg:h-[70px] p-[6px] rounded-full bg-[#5d6680]"

for 2nd image i.e people-02
className="absolute top-[10%] left-[10%] w-[40px] md:w-[50px] lg:w-[70px] h-[40px] md:h-[50px] lg:h-[70px] p-[6px] rounded-full bg-[#5d6680]"

for 3rd image i.e people-03
className="absolute top-[45%] left-[42%] w-[40px] md:w-[50px] lg:w-[70px] h-[40px] md:h-[50px] lg:h-[70px] p-[6px] rounded-full bg-[#5d6680]"

@lazarevkristijan
Copy link
Author

Hey thank you @aman-lama I will give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants