six bug
This commit is contained in:
@@ -71,16 +71,16 @@ const Feature52 = ({ className }: Feature52Props) => {
|
||||
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
||||
<div className="container">
|
||||
<Tabs defaultValue="feature-1">
|
||||
<TabsList className="flex w-full flex-wrap justify-between gap-2 bg-background p-0 group-data-horizontal/tabs:h-full">
|
||||
<TabsList className="flex h-auto w-full flex-wrap items-stretch justify-between gap-2 bg-background p-0 group-data-horizontal/tabs:h-auto">
|
||||
{tabs.map((tab, index) => (
|
||||
<TabsTrigger
|
||||
key={index}
|
||||
value={`feature-${index + 1}`}
|
||||
className="flex flex-1 flex-col items-start justify-start gap-2 rounded-md border border-border bg-muted px-2 py-4 text-start whitespace-normal text-primary hover:border lg:py-6 group-data-[variant=default]/tabs-list:data-active:border-primary group-data-[variant=default]/tabs-list:data-active:shadow-none"
|
||||
className="flex h-auto min-h-0 min-w-0 flex-1 flex-col items-stretch justify-start gap-2 self-stretch rounded-md border border-border bg-muted px-2 py-4 text-start whitespace-normal text-primary hover:border lg:py-6 group-data-[variant=default]/tabs-list:data-active:border-primary group-data-[variant=default]/tabs-list:data-active:shadow-none"
|
||||
>
|
||||
<div className="flex w-full flex-col items-center gap-4">
|
||||
<div className="flex w-full flex-1 flex-col items-center justify-center gap-4">
|
||||
{tab.icon}
|
||||
<p className="text-sm font-semibold lg:text-base">
|
||||
<p className="line-clamp-2 min-h-10 w-full text-center text-sm leading-snug font-semibold text-balance lg:min-h-12 lg:text-base">
|
||||
{tab.title}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user