Skip to content

Commit eefe39a

Browse files
committed
Give the finder path front face an identity rotation, since Safari ignores backface-visibility without one
1 parent de30ecb commit eefe39a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎assets/css/custom.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,17 @@
3535
@apply transform-3d transition-transform duration-600 ease-in-out;
3636
}
3737

38+
/* Safari honors `backface-visibility` only on an element that carries a
39+
transform itself, so the front face needs the identity rotation. */
3840
.finder-path-front,
3941
.finder-path-back {
4042
@apply backface-hidden;
4143
}
4244

45+
.finder-path-front {
46+
@apply rotate-x-0;
47+
}
48+
4349
.finder-path-back,
4450
.finder-hero:not(.is-locked) .finder-path-inner {
4551
@apply rotate-x-180;

0 commit comments

Comments
 (0)