Skip to content

Commit 6416a65

Browse files
devakoneclaude
andcommitted
fix: restore rounded corners on analysis cards after overflow-hidden removal
Add rounded-[inherit] to gradient overlay divs so they clip to the parent's border-radius without needing overflow-hidden. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f4608be commit 6416a65

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/app/analysis/[jobId]/AnalysisClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ export default function AnalysisClient({ jobId }: { jobId: string }) {
909909

910910
{/* Detailed Analysis Card */}
911911
<div className="vibe-echo relative rounded-[2rem] border border-black/5 bg-white shadow-sm">
912-
<div className="absolute inset-0 bg-gradient-to-br from-violet-500/8 via-transparent to-indigo-500/8" />
912+
<div className="absolute inset-0 rounded-[inherit] bg-gradient-to-br from-violet-500/8 via-transparent to-indigo-500/8" />
913913
<div className="relative p-8">
914914
<RepoIdentitySection
915915
persona={persona}

apps/web/src/components/vcp/repo/RepoIdentitySection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function RepoIdentitySection({
3838
}: RepoIdentitySectionProps) {
3939
return (
4040
<div className={cn("relative rounded-[2rem] border border-black/5 bg-white shadow-sm", className)}>
41-
<div className="absolute inset-0 bg-gradient-to-br from-violet-500/8 via-transparent to-indigo-500/8" />
41+
<div className="absolute inset-0 rounded-[inherit] bg-gradient-to-br from-violet-500/8 via-transparent to-indigo-500/8" />
4242
<div className="relative p-8">
4343
<div className="max-w-2xl">
4444
<p className="text-xs font-semibold uppercase tracking-[0.25em] text-zinc-500">

0 commit comments

Comments
 (0)