Skip to content

Commit

Permalink
fix select actions and icon sized
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopaunov committed Aug 19, 2024
1 parent 2ddb5aa commit 8ddbf07
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/CampaignAnalytics/Placements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const Placements = ({ forAdmin, campaignId }: { forAdmin: boolean; campaignId: s
placementName: isBlocked ? (
<Group align="center">
<ThemeIcon size="xs" variant="transparent" c="inherit">
<BlockIcon size="inherit" />
<BlockIcon size="100%" />
</ThemeIcon>{' '}
<Text c="inherit">{srcName}</Text>
</Group>
Expand Down Expand Up @@ -137,7 +137,7 @@ const Placements = ({ forAdmin, campaignId }: { forAdmin: boolean; campaignId: s
label: (selectedElements) => `Block selected (${selectedElements?.size})`,
icon: (
<ThemeIcon variant="transparent" size="xs">
<BlockIcon size="inherit" />
<BlockIcon size="14px" />
</ThemeIcon>
),
color: 'warning'
Expand Down
2 changes: 1 addition & 1 deletion src/components/CreateCampaign/CreateCampaignCommon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const UtmInfo = ({ title = '', placement }: { title: string; placement?:
<Group>
<Text size="inherit">{title}</Text>
<ActionIcon size="sm" variant="transparent">
<InfoIcon size="inherit" />
<InfoIcon size="100%" />
</ActionIcon>
</Group>
</HoverCard.Target>
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/CustomTable/CustomTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const CustomTable = ({
size="sm"
variant="light"
color={a.color || 'mainText'}
onChange={() => {
onClick={() => {
a.action(
Array.from(selectedElements.values()).map(
(id) => elements.find((x) => x.id === id)?.actionData
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/DownloadCSV/DownloadCSV.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const DownloadCSV = ({
variant="transparent"
rightSection={
<ThemeIcon size="sm" variant="transparent" c="inherit">
<DownloadIcon size="inherit" />
<DownloadIcon size="100%" />
</ThemeIcon>
}
>
Expand Down

0 comments on commit 8ddbf07

Please sign in to comment.