Skip to content

Commit

Permalink
fix(item): multiple input appearance when using datetime (#25484)
Browse files Browse the repository at this point in the history
Resolves #25479

Co-authored-by: Liam DeBeasi <[email protected]>
  • Loading branch information
sean-perkins and liamdebeasi authored Jun 16, 2022
1 parent b6e9c01 commit 3089f38
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions core/src/components/datetime/datetime.scss
Original file line number Diff line number Diff line change
Expand Up @@ -337,15 +337,20 @@
:host .calendar-day:after {
@include border-radius(32px, 32px, 32px, 32px);
@include padding(4px, 4px, 4px, 4px);

position: absolute;

/**
* Explicit position values are required here
* as pseudo element positioning is incorrect
* in older implementations of css grid.
*
* TODO: FW-1720: Remove top/left styles when deprecating iOS 13 support
*/

@include position(50%, null, null, 50%);

position: absolute;
/* stylelint-disable-next-line property-disallowed-list */
top: 50%;
/* stylelint-disable-next-line property-disallowed-list */
left: 50%;

width: 32px;
height: 32px;
Expand Down

0 comments on commit 3089f38

Please sign in to comment.