Skip to content

Commit

Permalink
Merge pull request #237 from UgnisSoftware/UGN-425
Browse files Browse the repository at this point in the history
Fix SVG not accepting rem values
  • Loading branch information
masiulis committed Dec 19, 2023
2 parents 9389ba8 + 85e7f1c commit 1675992
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/steps/MatchColumnsStep/components/MatchIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const MatchIcon = (props: MatchIconProps) => {
>
{props.isChecked && (
<MotionFlex {...animationConfig}>
<CgCheck size="1.5rem" />
<CgCheck size="24px" />
</MotionFlex>
)}
</chakra.div>
Expand Down
2 changes: 1 addition & 1 deletion src/steps/Steps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useRsi } from "../hooks/useRsi"
import { useRef, useState } from "react"
import { steps, stepTypeToStepIndex, stepIndexToStepType } from "../utils/steps"

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

export const Steps = () => {
const { initialStepState, translations, isNavigationEnabled } = useRsi()
Expand Down
2 changes: 1 addition & 1 deletion src/steps/UploadStep/components/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const generateColumns = <T extends string>(fields: Fields<T>) =>
{column.description && (
<Tooltip placement="top" hasArrow label={column.description}>
<Box flex={"0 0 auto"}>
<CgInfo size="1rem" />
<CgInfo size="16px" />
</Box>
</Tooltip>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/steps/ValidationStep/components/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const generateColumns = <T extends string>(fields: Fields<T>): Column<Dat
{column.description && (
<Tooltip placement="top" hasArrow label={column.description}>
<Box flex={"0 0 auto"}>
<CgInfo size="1rem" />
<CgInfo size="16px" />
</Box>
</Tooltip>
)}
Expand Down

0 comments on commit 1675992

Please sign in to comment.