♻️(react) revamp clear date picker button

Revamp DatePicker component to enhance range functionalities by elevating
the clear button, resulting in the utilization of a single button across
multiple DateField inputs.
This commit is contained in:
Lebaud Antoine
2023-06-14 16:58:23 +02:00
committed by aleb_the_flash
parent 0378b3fa0c
commit 87ec3a5061
4 changed files with 39 additions and 32 deletions

View File

@@ -62,7 +62,9 @@
height: auto;
&.c__button--small.c__button--icon-only {
width: 1.25rem;
width: fit-content;
height: fit-content;
margin: 1.65rem 0 0 0;
}
&--empty {
@@ -71,6 +73,13 @@
.material-icons {
font-size: 1rem;
position: relative;
top: 0.06rem;
}
&--hidden {
visibility: hidden;
transition: none;
}
}
}