|
|
@@ -113,8 +113,8 @@ const BodyPositionList: React.FC<BodyPositionListProps> = ({
|
|
|
|
|
|
return (
|
|
|
// 父级是flex,这里是grid,grid的高度需要设置为0,并且flex-grow,这样才能不撑开grid
|
|
|
- <div className={`${layout} h-full flex-grow`}>
|
|
|
- <div className="h-full overflow-y-auto flex flex-col ">
|
|
|
+ <div className={`${layout} h-full flex flex-col`}>
|
|
|
+ <div className="flex-grow overflow-y-auto flex flex-col ">
|
|
|
{bodyPositions.map((bodyPosition, index) => (
|
|
|
<div key={index} className="relative w-[50%] mx-auto"
|
|
|
draggable
|