Skip to content

Commit

Permalink
style: Radio CheckButton svg 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
toothlessdev committed Aug 25, 2024
1 parent fe1ef12 commit af517f0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/components/form/Radio.style.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import styled from "@emotion/styled";
import { RadioContainerProps } from "./Radio";

import checkActive from "../../assets/btn-check__active.svg";
import checkInActive from "../../assets/btn-check__inactive.svg";

import { vertical_center } from "../../styles/utils";

export const RadioGroupWrapper = styled.div<RadioContainerProps>`
Expand Down Expand Up @@ -46,14 +49,14 @@ export const RadioItemElement = styled.input`

export const RadioItemLabel = styled.label`
width: 100%;
height: 100%;
height: inherit;
display: flex;
align-items: center;
margin-left: 40px;
& > :checked::before {
content: url("packages/assets/btn-check__active.svg");
content: url(${checkActive});
${vertical_center};
width: 20px;
Expand All @@ -64,7 +67,7 @@ export const RadioItemLabel = styled.label`
}
& > :not(:checked)::before {
content: url("packages/assets/btn-check__inactive.svg");
content: url(${checkInActive});
${vertical_center};
width: 20px;
Expand Down

0 comments on commit af517f0

Please sign in to comment.