From 58799def65e2a1c0a5163a7384cf1d294f4f2ec3 Mon Sep 17 00:00:00 2001 From: Luan Raithz Machado Date: Mon, 19 Oct 2020 13:45:58 -0300 Subject: [PATCH] added sticky position --- src/re/AvatarGenerator.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/re/AvatarGenerator.css b/src/re/AvatarGenerator.css index 3713812..0b05068 100644 --- a/src/re/AvatarGenerator.css +++ b/src/re/AvatarGenerator.css @@ -30,13 +30,16 @@ } .AvatarGenerator-avatar { - position: absolute; + position: sticky; + margin-top: -185px; width: 150px; height: 150px; border-radius: 75px; background-color: transparent; overflow: hidden; - top: -75px; + top: 20px; + margin-bottom: 35px; + z-index: 1; } .AvatarGenerator-faceFeature {