From e47d086264dd18307ef6b561082b926ac1ce50c1 Mon Sep 17 00:00:00 2001 From: klopez4212 Date: Wed, 17 Jun 2026 17:24:45 +0100 Subject: [PATCH] Normalize desktop icon sizing --- .../features/channels/ui/AddChannelBotPersonasSection.tsx | 2 +- .../src/features/channels/ui/AddChannelBotTeamsSection.tsx | 4 ++-- desktop/src/features/channels/ui/MembersSidebar.tsx | 2 +- .../src/features/channels/ui/MembersSidebarMemberCard.tsx | 2 +- desktop/src/features/home/ui/FeedSection.tsx | 2 +- desktop/src/features/huddle/components/MicControls.tsx | 4 ++-- desktop/src/features/huddle/components/ParticipantList.tsx | 4 ++-- desktop/src/features/messages/ui/ComposerAttachments.tsx | 2 +- desktop/src/features/messages/ui/MessageThreadPanel.tsx | 2 +- desktop/src/features/messages/ui/MessageTimeline.tsx | 4 ++-- desktop/src/features/profile/ui/AnimatedAvatarCapture.tsx | 2 +- desktop/src/features/profile/ui/AnimatedAvatarControls.tsx | 2 +- .../src/features/profile/ui/UserProfilePanelSections.tsx | 2 +- desktop/src/features/reminders/ui/RemindersPanel.tsx | 6 +++--- .../src/features/settings/ui/NotificationSettingsCard.tsx | 2 +- desktop/src/features/settings/ui/ProfileSettingsCard.tsx | 2 +- desktop/src/features/settings/ui/SoundPicker.tsx | 2 +- desktop/src/features/sidebar/ui/CreateChannelDialog.tsx | 2 +- desktop/src/features/sidebar/ui/NewDirectMessageDialog.tsx | 2 +- desktop/src/shared/ui/button.tsx | 2 +- 20 files changed, 26 insertions(+), 26 deletions(-) diff --git a/desktop/src/features/channels/ui/AddChannelBotPersonasSection.tsx b/desktop/src/features/channels/ui/AddChannelBotPersonasSection.tsx index e4e6ef9a5d4..b33840b6bdd 100644 --- a/desktop/src/features/channels/ui/AddChannelBotPersonasSection.tsx +++ b/desktop/src/features/channels/ui/AddChannelBotPersonasSection.tsx @@ -180,7 +180,7 @@ export function AddChannelBotPersonasSection({ : "bg-muted/60 text-muted-foreground", )} > - + In channel ) : null} diff --git a/desktop/src/features/channels/ui/AddChannelBotTeamsSection.tsx b/desktop/src/features/channels/ui/AddChannelBotTeamsSection.tsx index 2879902c733..effb9eadd27 100644 --- a/desktop/src/features/channels/ui/AddChannelBotTeamsSection.tsx +++ b/desktop/src/features/channels/ui/AddChannelBotTeamsSection.tsx @@ -130,7 +130,7 @@ export function AddChannelBotTeamsSection({ : "bg-muted/60 text-muted-foreground", )} > - + {allInChannel ? "All in channel" : `${inChannelCount} in channel`} @@ -165,7 +165,7 @@ export function AddChannelBotTeamsSection({ {persona.displayName} {personaInChannel ? ( - + ) : null} ); diff --git a/desktop/src/features/channels/ui/MembersSidebar.tsx b/desktop/src/features/channels/ui/MembersSidebar.tsx index ca3dd01c3cf..8202781abcd 100644 --- a/desktop/src/features/channels/ui/MembersSidebar.tsx +++ b/desktop/src/features/channels/ui/MembersSidebar.tsx @@ -730,7 +730,7 @@ function AddMemberSearchResultRow({ {formatAddCandidateName(user)} - diff --git a/desktop/src/features/channels/ui/MembersSidebarMemberCard.tsx b/desktop/src/features/channels/ui/MembersSidebarMemberCard.tsx index 9a0f16ce6c1..9574f451b3f 100644 --- a/desktop/src/features/channels/ui/MembersSidebarMemberCard.tsx +++ b/desktop/src/features/channels/ui/MembersSidebarMemberCard.tsx @@ -148,7 +148,7 @@ export function MembersSidebarMemberCard({ {memberLabel} - diff --git a/desktop/src/features/home/ui/FeedSection.tsx b/desktop/src/features/home/ui/FeedSection.tsx index 8cae872bdc4..fe0860f1eaa 100644 --- a/desktop/src/features/home/ui/FeedSection.tsx +++ b/desktop/src/features/home/ui/FeedSection.tsx @@ -143,7 +143,7 @@ export function FeedSection({ return (
- +

{title}

diff --git a/desktop/src/features/huddle/components/MicControls.tsx b/desktop/src/features/huddle/components/MicControls.tsx index 129829f53e1..f56fd327639 100644 --- a/desktop/src/features/huddle/components/MicControls.tsx +++ b/desktop/src/features/huddle/components/MicControls.tsx @@ -185,10 +185,10 @@ export function MicControls({ style={micMeterBarStyle(rightBarHeight)} /> - + ) : ( - + )} diff --git a/desktop/src/features/huddle/components/ParticipantList.tsx b/desktop/src/features/huddle/components/ParticipantList.tsx index 33ac281d1df..a99e5aa6d18 100644 --- a/desktop/src/features/huddle/components/ParticipantList.tsx +++ b/desktop/src/features/huddle/components/ParticipantList.tsx @@ -117,7 +117,7 @@ export function HuddleParticipantsControl({ type="button" variant="ghost" > - + )} @@ -159,7 +159,7 @@ function HexAvatar({ color: "#fff", }} > - {size === "lg" ? shortId : } + {size === "lg" ? shortId : }
); } diff --git a/desktop/src/features/messages/ui/ComposerAttachments.tsx b/desktop/src/features/messages/ui/ComposerAttachments.tsx index c00ec5ffb69..2ab4ec3c857 100644 --- a/desktop/src/features/messages/ui/ComposerAttachments.tsx +++ b/desktop/src/features/messages/ui/ComposerAttachments.tsx @@ -181,7 +181,7 @@ export const ComposerAttachments = React.memo(function ComposerAttachments({ className="pointer-events-none absolute inset-0 flex items-center justify-center rounded-2xl bg-background/55 text-foreground/70 backdrop-blur-[1px]" data-composer-media-spoiler="" > - + ) : null} diff --git a/desktop/src/features/messages/ui/MessageThreadPanel.tsx b/desktop/src/features/messages/ui/MessageThreadPanel.tsx index 358ebbce995..11002b2c85e 100644 --- a/desktop/src/features/messages/ui/MessageThreadPanel.tsx +++ b/desktop/src/features/messages/ui/MessageThreadPanel.tsx @@ -514,7 +514,7 @@ export function MessageThreadPanel({ {!isAtBottom ? (
); } diff --git a/desktop/src/features/profile/ui/UserProfilePanelSections.tsx b/desktop/src/features/profile/ui/UserProfilePanelSections.tsx index 20f75011b38..3baa46ea2ef 100644 --- a/desktop/src/features/profile/ui/UserProfilePanelSections.tsx +++ b/desktop/src/features/profile/ui/UserProfilePanelSections.tsx @@ -505,7 +505,7 @@ function ProfileQuickAction({ : "bg-muted/60 text-foreground hover:bg-muted/80", )} > - + void handleComplete()} title="Complete" > - +
diff --git a/desktop/src/features/settings/ui/NotificationSettingsCard.tsx b/desktop/src/features/settings/ui/NotificationSettingsCard.tsx index 3e765ebe2b5..72bb08326ff 100644 --- a/desktop/src/features/settings/ui/NotificationSettingsCard.tsx +++ b/desktop/src/features/settings/ui/NotificationSettingsCard.tsx @@ -232,7 +232,7 @@ export function NotificationSettingsCard({ ) : ( <> - + View all )} diff --git a/desktop/src/features/settings/ui/ProfileSettingsCard.tsx b/desktop/src/features/settings/ui/ProfileSettingsCard.tsx index 70a15d900d3..c7c81476b45 100644 --- a/desktop/src/features/settings/ui/ProfileSettingsCard.tsx +++ b/desktop/src/features/settings/ui/ProfileSettingsCard.tsx @@ -766,7 +766,7 @@ export function ProfileSettingsCard({ this device.

- +
{value} - + diff --git a/desktop/src/features/sidebar/ui/CreateChannelDialog.tsx b/desktop/src/features/sidebar/ui/CreateChannelDialog.tsx index baa4d1c8c7d..f9696cf32f3 100644 --- a/desktop/src/features/sidebar/ui/CreateChannelDialog.tsx +++ b/desktop/src/features/sidebar/ui/CreateChannelDialog.tsx @@ -171,7 +171,7 @@ export function CreateChannelDialog({ > {durationLabel} - + diff --git a/desktop/src/features/sidebar/ui/NewDirectMessageDialog.tsx b/desktop/src/features/sidebar/ui/NewDirectMessageDialog.tsx index 541e2a459a6..3430ffdc27c 100644 --- a/desktop/src/features/sidebar/ui/NewDirectMessageDialog.tsx +++ b/desktop/src/features/sidebar/ui/NewDirectMessageDialog.tsx @@ -582,7 +582,7 @@ export function NewDirectMessageDialog({ {user.isAgent ? ( ) : null} diff --git a/desktop/src/shared/ui/button.tsx b/desktop/src/shared/ui/button.tsx index 318642130d2..70e2c0a0452 100644 --- a/desktop/src/shared/ui/button.tsx +++ b/desktop/src/shared/ui/button.tsx @@ -5,7 +5,7 @@ import { cva, type VariantProps } from "class-variance-authority"; import { cn } from "@/shared/lib/cn"; const buttonVariants = cva( - "inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-lg text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4.5 [&_svg]:shrink-0", + "inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-lg text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", { variants: { variant: {