Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#578] iOS 환경에서의 DatePicker UI 수정 #579

Merged
merged 3 commits into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}

Comment on lines +48 to +51
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS 모바일환경 date타입 input의 value값을 숨기는 속성입니다

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

Comment on lines +52 to +55
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS 모바일환경에서 date타입 input의 style 속성을 없애는 속성입니다

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