diff --git a/css/details.css b/css/details.css index 2f52a34..3057e0d 100644 --- a/css/details.css +++ b/css/details.css @@ -246,9 +246,9 @@ font-size: 12px; border-radius: 10px; position: absolute; - right: 5px; - top: 50%; - transform: translateY(-50%); + right: 0; + top: -8px; + transform: translateX(100%); color: #fff; text-align: center; font-weight: 400; diff --git a/css/details.less b/css/details.less index 64ed06d..b16bd46 100644 --- a/css/details.less +++ b/css/details.less @@ -273,9 +273,9 @@ font-size: 12px; border-radius: 10px; position: absolute; - right: 5px; - top: 50%; - transform: translateY(-50%); + right: 0; + top: -8px; + transform: translateX(100%); color: #fff; text-align: center; font-weight: 400;