mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-26 22:42:51 +08:00
fix(dropdown): fix z-axis height error
This commit is contained in:
@@ -71,6 +71,7 @@ const Dropdown: React.FC<React.PropsWithChildren<Props>> = React.memo(({
|
||||
width: ${rect.width}px;
|
||||
top: ${rect.top + 2}px;
|
||||
left: ${rect.left}px;
|
||||
z-index: 100;
|
||||
}
|
||||
`}</style>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user