Skip to content

Commit

Permalink
fix some styles in profile pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sin-bufan committed Mar 11, 2024
1 parent fbefdcc commit ff4a619
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/u3/src/components/shared/select/FeedsFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function FeedsFilter({
}}
defaultValue={defaultValue}
>
<SelectTrigger className="w-[180px] border-none rounded-[10px] bg-[#1B1E23] text-[#FFF] text-[14px] font-medium outline-none focus:outline-none focus:border-none">
<SelectTrigger className="border-none rounded-[10px] bg-[#1B1E23] text-[#FFF] text-[14px] font-medium outline-none focus:outline-none focus:border-none space-x-2">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
Expand Down
2 changes: 1 addition & 1 deletion apps/u3/src/components/shared/select/PlatformFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function PlatformFilter({
}}
defaultValue={defaultValue}
>
<SelectTrigger className="w-[180px] border-none rounded-[10px] bg-[#1B1E23] text-[#FFF] text-[14px] font-medium outline-none focus:outline-none focus:border-none">
<SelectTrigger className="border-none rounded-[10px] bg-[#1B1E23] text-[#FFF] text-[14px] font-medium outline-none focus:outline-none focus:border-none space-x-2">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
Expand Down
22 changes: 12 additions & 10 deletions apps/u3/src/container/profile/Contacts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function Contacts() {
}}
>
<div className="flex items-center justify-between">
<TabsList className="flex gap-5 justify-start w-full bg-inherit">
<TabsList className="flex gap-5 justify-start bg-inherit">
<TabsTrigger
value={FollowType.FOLLOWING}
className={cn(
Expand All @@ -87,15 +87,17 @@ export default function Contacts() {
{`Followers(${followersPlatformCount[platform]})`}
</TabsTrigger>
</TabsList>
<PlatformFilter
defaultValue={platform}
onChange={(v) => {
setFollowNavData((prevData) => ({
...prevData,
platform: v,
}));
}}
/>
<div>
<PlatformFilter
defaultValue={platform}
onChange={(v) => {
setFollowNavData((prevData) => ({
...prevData,
platform: v,
}));
}}
/>
</div>
</div>
<TabsContent
id="profile-contacts-following-warper"
Expand Down

0 comments on commit ff4a619

Please sign in to comment.