@morphika/andami 0.5.9 → 0.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -502,11 +502,21 @@ export default function SectionV2Column({
|
|
|
502
502
|
)}
|
|
503
503
|
</SortableContext>
|
|
504
504
|
|
|
505
|
-
{/* "+" add block button below blocks
|
|
505
|
+
{/* "+" add block button below blocks.
|
|
506
|
+
When the column has a vertical alignment (center / flex-end via
|
|
507
|
+
colJustify), this drop zone is anchored absolutely to the bottom of
|
|
508
|
+
the column so its `flex: 1` doesn't eat the spare space and break
|
|
509
|
+
the column's `justify-content`. Without alignment (top default), it
|
|
510
|
+
keeps the legacy `flex: 1` so the entire empty area below the last
|
|
511
|
+
block remains a generous drop target. */}
|
|
506
512
|
{/* Hidden for section-level blocks (e.g. projectGridBlock) that own the full column */}
|
|
507
513
|
{hasBlocks && !singleSectionBlock && (
|
|
508
514
|
<div
|
|
509
|
-
className={`flex
|
|
515
|
+
className={`flex items-center justify-center z-[3] transition-all ${
|
|
516
|
+
colJustify
|
|
517
|
+
? "absolute left-0 right-0 bottom-0"
|
|
518
|
+
: "flex-1 min-h-0"
|
|
519
|
+
} ${
|
|
510
520
|
showChrome ? "opacity-100" : showFaintOutline ? "opacity-30" : "opacity-0 pointer-events-none"
|
|
511
521
|
}`}
|
|
512
522
|
style={{ minHeight: 24 }}
|
package/lib/version.ts
CHANGED
package/package.json
CHANGED