@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 — absolutely positioned to avoid disrupting flex alignment */}
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-1 min-h-0 flex items-center justify-center z-[3] transition-all ${
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
@@ -6,4 +6,4 @@
6
6
  * Exposed as a plain constant so it can be imported without reading
7
7
  * package.json at runtime.
8
8
  */
9
- export const ANDAMI_VERSION = "0.5.9";
9
+ export const ANDAMI_VERSION = "0.5.10";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morphika/andami",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "Visual Page Builder — core library. A reusable website builder with visual editing, CMS integration, and asset management.",
5
5
  "type": "module",
6
6
  "license": "MIT",