Skip to content

Commit

Permalink
[#578] iOS 환경에서의 DatePicker UI 수정 (#579)
Browse files Browse the repository at this point in the history
* chore: input[type='date']에 -webkit-appearance: none 옵션 추가

* chore: 코드 수정

* chore: 코드 수정
  • Loading branch information
hanyugeon authored May 12, 2024
1 parent 6a469ab commit 344a2bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
cursor: pointer;
}

input::-webkit-date-and-time-value {
display: none;
}

input[type='date'] {
-webkit-appearance: none;
}

/* Input type=number 버튼 제거 */
/* Chrome, Safari, Edge, Opera */
input::-webkit-inner-spin-button {
Expand Down

0 comments on commit 344a2bd

Please sign in to comment.