Skip to content

Commit 1675992

Browse files
authored
Merge pull request #237 from UgnisSoftware/UGN-425
Fix SVG not accepting rem values
2 parents 9389ba8 + 85e7f1c commit 1675992

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/steps/MatchColumnsStep/components/MatchIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const MatchIcon = (props: MatchIconProps) => {
3434
>
3535
{props.isChecked && (
3636
<MotionFlex {...animationConfig}>
37-
<CgCheck size="1.5rem" />
37+
<CgCheck size="24px" />
3838
</MotionFlex>
3939
)}
4040
</chakra.div>

src/steps/Steps.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useRsi } from "../hooks/useRsi"
77
import { useRef, useState } from "react"
88
import { steps, stepTypeToStepIndex, stepIndexToStepType } from "../utils/steps"
99

10-
const CheckIcon = ({ color }: { color: string }) => <CgCheck size="2.25rem" color={color} />
10+
const CheckIcon = ({ color }: { color: string }) => <CgCheck size="36px" color={color} />
1111

1212
export const Steps = () => {
1313
const { initialStepState, translations, isNavigationEnabled } = useRsi()

src/steps/UploadStep/components/columns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const generateColumns = <T extends string>(fields: Fields<T>) =>
1717
{column.description && (
1818
<Tooltip placement="top" hasArrow label={column.description}>
1919
<Box flex={"0 0 auto"}>
20-
<CgInfo size="1rem" />
20+
<CgInfo size="16px" />
2121
</Box>
2222
</Tooltip>
2323
)}

src/steps/ValidationStep/components/columns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const generateColumns = <T extends string>(fields: Fields<T>): Column<Dat
5757
{column.description && (
5858
<Tooltip placement="top" hasArrow label={column.description}>
5959
<Box flex={"0 0 auto"}>
60-
<CgInfo size="1rem" />
60+
<CgInfo size="16px" />
6161
</Box>
6262
</Tooltip>
6363
)}

0 commit comments

Comments
 (0)