Skip to content

Commit ed12d29

Browse files
fix nested area margin collapse (#4879)
* fix nested area margin collapse * remove test markup
1 parent 8c1d04c commit ed12d29

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* Fixes the focus styling on AposTable headers.
2121
* Proper errors when widgets are badly configured in expanded mode.
2222
* More reliable Media Manager infinite scroll pagination.
23+
* Fixes margin collapse in nested areas by switching to `padding` instead of `margin`
2324
* Fixes Edit in Media Manager when the image is not in the currently loaded images. This may happen when the the Media Manager is in a relationship mode.
2425

2526
## 4.13.0 (2025-02-19)

modules/@apostrophecms/ui/ui/apos/scss/global/_widgets.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[data-apos-area] [data-apos-area] {
2-
margin: var(--a-widget-margin);
2+
padding: var(--a-widget-margin);
33
}
44

55
[data-rich-text] p:empty::after {

0 commit comments

Comments
 (0)