Skip to content

Commit 5be8905

Browse files
authored
fix(cdk/drag-drop): positioning thrown off with align-self (#29813)
Fixes that the combination of setting `align-self: center` and the user agent styling of `inset: 0` on popovers was breaking the positioning of the preview. Fixes #29809.
1 parent 9db4095 commit 5be8905

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cdk/drag-drop/resets.scss

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
border: none;
55
padding: 0;
66
color: inherit;
7+
8+
// Chrome sets a user agent style of `inset: 0` which combined
9+
// with `align-self` can break the positioning (see #29809).
10+
inset: auto;
711
}
812
}
913

0 commit comments

Comments
 (0)