responsive page panel and add-doctor
This commit is contained in:
@@ -15,7 +15,8 @@ function Step({ value }) {
|
||||
<li className="flex items-center justify-center" key={idx}>
|
||||
<div className="flex flex-col items-center justify-center gap-2">
|
||||
<div
|
||||
className={`flex items-center bg-[#F6F6F6] justify-center p-[18px] w-[75px] h-[75px] rounded-full
|
||||
className={`flex items-center bg-[#F6F6F6] justify-center p-[18px]
|
||||
w-[32px] h-[32px] sm:w-[46px] sm:h-[46px] md:w-[60px] md:h-[60px] lg:w-[75px] lg:h-[75px] rounded-full
|
||||
relative overflow-hidden before:delay-500 before:transition-all before:duration-500
|
||||
before:absolute before:w-full before:h-full before:bg-[#5559CE]
|
||||
${value >= idx ? "before:right-0" : "before:-right-full"}`}
|
||||
@@ -23,7 +24,7 @@ function Step({ value }) {
|
||||
<div className="z-10 delay-500">{item.icon}</div>
|
||||
</div>
|
||||
<p
|
||||
className={`text-[16px]
|
||||
className={`text-[10px] sm:text-[12px] md:text-[14px] lg:text-[16px] text-nowrap
|
||||
${
|
||||
value >= idx
|
||||
? "font-bold text-[#5559CE]"
|
||||
@@ -35,7 +36,7 @@ function Step({ value }) {
|
||||
</div>
|
||||
{list.length > idx + 1 && (
|
||||
<span
|
||||
className={`block rounded-[16px] transition-all duration-500 h-[2px] bg-[#EFEFEF] w-[100px]
|
||||
className={`block rounded-[16px] transition-all duration-500 h-[2px] bg-[#EFEFEF] w-[35px] sm:w-[56px] md:w-[77px] lg:w-[100px]
|
||||
relative overflow-hidden before:transition-all before:duration-500
|
||||
before:absolute before:w-full before:h-full before:bg-[#5559CE] before:ease-linear
|
||||
|
||||
|
||||
Reference in New Issue
Block a user