fix some bug in some blocks
This commit is contained in:
+12
-8
@@ -60,10 +60,14 @@ interface Feature183Props {
|
||||
|
||||
const Feature183 = ({ className }: Feature183Props) => {
|
||||
return (
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<div className="w-full shrink-0">
|
||||
<div className="relative mx-auto h-96 w-full rounded-3xl bg-muted bg-cover bg-center bg-no-repeat sm:h-96">
|
||||
<section
|
||||
dir="rtl"
|
||||
lang="fa"
|
||||
className={cn("w-full min-w-0 overflow-x-clip pb-32", className)}
|
||||
>
|
||||
<div className="container min-w-0">
|
||||
<div className="w-full min-w-0 shrink-0 pt-32">
|
||||
<div className="relative mx-auto h-96 w-full min-w-0 rounded-3xl bg-muted bg-cover bg-center bg-no-repeat sm:h-96">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%"
|
||||
@@ -104,7 +108,7 @@ const Feature183 = ({ className }: Feature183Props) => {
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
<div className="absolute -top-32 start-1/2 bottom-0 z-10 mt-12 w-[12.5rem] -translate-x-1/2 transform overflow-hidden sm:w-[18.75rem]">
|
||||
<div className="absolute -top-32 start-1/2 bottom-0 z-10 mt-12 w-[12.5rem] max-w-[calc(100%-2rem)] -translate-x-1/2 transform overflow-hidden sm:w-[18.75rem]">
|
||||
<img
|
||||
src="/block-media/shadcnblocks/block/hero108/iphone.png"
|
||||
alt="گزارش مالی یکپارچه"
|
||||
@@ -117,7 +121,7 @@ const Feature183 = ({ className }: Feature183Props) => {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="absolute top-12 end-1/4 z-20 hidden w-60 transform rounded-2xl border bg-background p-4 text-start shadow-md md:-rotate-12 lg:block">
|
||||
<div className="absolute top-12 end-[max(1rem,12%)] z-20 hidden w-60 max-w-[min(15rem,42%)] transform rounded-2xl border bg-background p-4 text-start shadow-md md:-rotate-12 lg:block">
|
||||
<div className="flex flex-row">
|
||||
<h3 className="text-lg font-semibold">گردش تأیید</h3>
|
||||
<Badge variant="secondary" className="ms-auto rounded-sm">
|
||||
@@ -131,7 +135,7 @@ const Feature183 = ({ className }: Feature183Props) => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="absolute top-12 start-1/4 z-20 hidden w-60 transform rounded-lg border bg-background p-4 text-start shadow-md lg:block">
|
||||
<div className="absolute top-12 start-[max(1rem,12%)] z-20 hidden w-60 max-w-[min(15rem,42%)] transform rounded-lg border bg-background p-4 text-start shadow-md lg:block">
|
||||
<div className="flex flex-row border-b pb-4">
|
||||
<h3 className="text-lg font-semibold">ERP</h3>
|
||||
<div className="relative ms-auto">
|
||||
@@ -168,7 +172,7 @@ const Feature183 = ({ className }: Feature183Props) => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mt-14 flex flex-col items-center justify-center gap-x-24 gap-y-8 lg:flex-row">
|
||||
<div className="mt-14 flex min-w-0 flex-col items-center justify-center gap-x-24 gap-y-8 lg:flex-row">
|
||||
{DATA.map((item) => (
|
||||
<StatCard key={item.title} {...item} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user