Skip to content

Commit b1ade8d

Browse files
committed
Address layout area rendering issue when no columns are present
1 parent 6ce6f1c commit b1ade8d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* Specify the content type when calling back to Astro with JSON to render an area. This is required starting in Astro 4.9.0 and up, otherwise the request is blocked by CSRF protection.
2323
* Fixes `AposBreadcrumbSwitch` tooltip prop that is supposed to be an object, not a string. Object returned from the shared method `getOperationTooltip`.
2424
* Uses `modalData.locale` in `AposI18nLocalize` component. Fixes watcher on `relatedDocTypes` not being properly triggered (uses data and methods for more control instead).
25+
* Layout area fix when no columns are present.
2526

2627
## 4.23.0 (2025-10-30)
2728

‎modules/@apostrophecms/layout-widget/ui/apos/components/AposAreaLayoutEditor.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@click="setFocusedArea(areaId, $event)"
1515
>
1616
<div
17-
v-if="next.length === 0 && !foreign"
17+
v-if="next.length === 0 && !foreign && layoutMode === 'content'"
1818
class="apos-empty-area"
1919
tabindex="0"
2020
@paste="paste(0)"

0 commit comments

Comments
 (0)