Skip to content

Commit

Permalink
feat: add native input date styles (#12959)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-deriv authored Jan 24, 2024
1 parent d789c38 commit 3bcb266
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/components/src/components/date-picker/date-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@
&--disabled {
border-color: var(--general-disabled);
}

@include mobile {
input[type='date']::-webkit-calendar-picker-indicator {
background: transparent;
bottom: 0;
color: transparent;
cursor: pointer;
height: auto;
left: 0;
position: absolute;
right: 0;
top: 0;
width: auto;
}
}
}

&__hint {
Expand Down

1 comment on commit 3bcb266

@vercel
Copy link

@vercel vercel bot commented on 3bcb266 Jan 24, 2024

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
binary.sx
deriv-app-git-master.binary.sx
deriv-app.binary.sx

Please sign in to comment.