Skip to content

Commit abcafeb

Browse files
committed
chore: use dropshadow
1 parent 4f40072 commit abcafeb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web-marketplace/src/components/organisms/ProjectDashboardBanner/ProjectDashboardBanner.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,13 @@ const ProjectDashboardBanner = ({
172172
<div className="flex flex-col justify-end xl:max-w-[70%]">
173173
<Title
174174
variant="h3"
175-
/* Added p-15 (padding) and -m-15 (negative margin) to offset the layout shift */
176-
className="text-bc-neutral-0 line-clamp-2 text-ellipsis [overflow-wrap:anywhere] [text-shadow:0_0_20px_rgba(0,0,0,0.25)] p-15 -m-15 mb-15"
175+
className="text-bc-neutral-0 line-clamp-2 text-ellipsis [overflow-wrap:anywhere] drop-shadow-[0_0_20px_rgba(0,0,0,0.25)] mb-20"
177176
>
178177
{projectName}
179178
</Title>
180179

181180
{/* Address + area */}
182-
<div className="max-h-[40px] max-w-[251px] md:max-w-[596px] text-ellipsis [overflow-wrap:anywhere] [text-shadow:0_0_20px_rgba(0,0,0,0.25)] p-15 -m-15 mb-20">
181+
<div className="mb-20 max-h-[40px] max-w-[251px] md:max-w-[596px] text-ellipsis [overflow-wrap:anywhere] drop-shadow-[0_0_20px_rgba(0,0,0,0.25)]">
183182
<ProjectPlaceInfo
184183
place={truncatedPlace}
185184
area={project.area}

0 commit comments

Comments
 (0)