Skip to content

Commit

Permalink
[Refactor] Stepper css 에러 해결, TextField border 스타일 적용 (#82)
Browse files Browse the repository at this point in the history
* fix: Stepper 스타일 변경

* fix: TextField BorderStyle 적용

* chore: changeset 문서 작성
  • Loading branch information
eugene028 authored Jul 18, 2024
1 parent 51c6c59 commit bd540a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .changeset/kind-worms-bathe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
"wowds-ui": patch
---

- DropDown 의 value,text 에 대해서 제어할 수 있도록 수정하고 선택된 옵션값에 text 가 나타나도록 수정합니다.
- Stepper의 CSS 에러를 개선합니다. (마지막 글자 잘림 현상 및 border Style 적용 안됨 이슈 해결)
- Textfield의 border Style이 적용 안되는 이슈를 해결합니다.
3 changes: 3 additions & 0 deletions packages/wow-ui/src/components/Stepper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ const stepperCircleStyle = cva({
position: "absolute",
width: "1.5rem",
borderWidth: "1px",
borderStyle: "solid",
transform: "translateX(-50%)",
},
variants: {
Expand Down Expand Up @@ -169,6 +170,8 @@ const StepperLabel = ({
transform="translateX(-50%)"
style={{
left: `${calcPercent(maxStep, value - 1)}%`,
bottom: "-35px",
whiteSpace: "nowrap",
}}
>
<styled.span
Expand Down
1 change: 1 addition & 0 deletions packages/wow-ui/src/components/TextField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ const textareaStyle = cva({
base: {
borderRadius: "sm",
borderWidth: "button",
borderStyle: "solid",
paddingX: "sm",
paddingY: "xs",
textStyle: "body1",
Expand Down

0 comments on commit bd540a1

Please sign in to comment.