fix: improve HeroSection responsiveness and remove expertise tag truncation in user profile page

This commit is contained in:
pradeepkumar
2026-04-17 20:20:31 +05:30
parent b568e4b178
commit 39a8d846b4
2 changed files with 3 additions and 3 deletions

View File

@@ -346,7 +346,7 @@ function ProfileCard({ profile, resolvedAvatarUrl }: ProfileCardProps) {
{expertiseTags.length > 0 && (
<div className="mt-3">
<p className="font-fractul font-bold text-[14px] text-[#00293d] mb-2">Expertise:</p>
<div className={`flex flex-wrap gap-2 items-center ${showAllTags ? '' : 'max-h-[72px] overflow-hidden'}`}>
<div className="flex flex-wrap gap-2 items-center">
{(showAllTags ? expertiseTags : expertiseTags.slice(0, INITIAL_TAG_COUNT)).map((tag, index) => (
<span
key={index}