year пре 2 месеци
родитељ
комит
22fa2b1efa
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 2 2
      src/app/[locale]/(TabBar)/promo/style.module.scss
  2. 1 1
      src/components/Footer/index.tsx

+ 2 - 2
src/app/[locale]/(TabBar)/promo/style.module.scss

@@ -327,8 +327,8 @@
     position: relative;
     .promoItemNum {
         position: absolute;
-        left: 0.2rem;
-        top: 0.2rem;
+        left: 0.13rem;
+        top: 0.1rem;
         background: #ff0000;
         width: 0.1rem;
         height: 0.1rem;

+ 1 - 1
src/components/Footer/index.tsx

@@ -184,7 +184,7 @@ const Footer: FC = () => {
                                         </Badge>
                                     )}
                                     {index == 3 && !!promotion_count && (
-                                        <div className="absolute -top-[0px] right-[4px] flex h-[.16rem] w-[.16rem] items-center justify-center rounded-[50%] bg-[#ff0000] text-[.1rem] text-[#fff]">
+                                        <div className="absolute -top-[0px] right-[18px] flex h-[.16rem] w-[.16rem] items-center justify-center rounded-[50%] bg-[#ff0000] text-[.1rem] text-[#fff]">
                                             {promotion_count > 99 ? `99+` : promotion_count}
                                         </div>
                                     )}