|
|
@@ -284,7 +284,7 @@ const AddPunlishPlanModal: React.FC<AddPunlishPlanModalProps> = ({ visible, isSu
|
|
|
<Form.Item label="发布内容" required>
|
|
|
{
|
|
|
selectVideoType === 0 ?
|
|
|
- (<div className="flex flex-wrap gap-4">
|
|
|
+ (<div className="flex flex-wrap gap-4 max-h-[660px] overflow-y-auto pr-2">
|
|
|
{selectedVideos.map((video) => (
|
|
|
<Card
|
|
|
key={video.videoId}
|
|
|
@@ -326,7 +326,7 @@ const AddPunlishPlanModal: React.FC<AddPunlishPlanModalProps> = ({ visible, isSu
|
|
|
))}
|
|
|
|
|
|
{/* Add Video Button - Conditionally Rendered */}
|
|
|
- {selectedVideos.length < 3 && (
|
|
|
+ {selectedVideos.length < 20 && (
|
|
|
<div
|
|
|
className={`w-[240px] h-[316px] flex flex-col justify-center items-center border border-dashed rounded ${accountId ? 'border-gray-300 cursor-pointer dark:border-gray-600 hover:border-blue-500 hover:text-blue-500' : 'border-gray-200 text-gray-300 cursor-not-allowed bg-gray-50'}`}
|
|
|
onClick={openVideoSelector} // Open the drawer on click
|