Skip to content

Commit 53ba964

Browse files
authored
Merge pull request #778 from mulesoft/W-15177355-fix-padding-for-collapsible-block-in-notes
[W-15177355] Fix: Padding issue when collapsible blocks embedded in admonitions
2 parents 9bdd907 + e831489 commit 53ba964

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

preview-site-src/elements/miscellaneous.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,15 @@ Log in to Anypoint Platform on your US or EU cloud host.
104104
* EU cloud (EU host): https://eu1.anypoint.mulesoft.com/login/[Anypoint Platform (EU)^]
105105
====
106106
Some ending text
107+
108+
=== Collapsible Block in an Admonition Block
109+
110+
[NOTE]
111+
--
112+
When collapsible blocks are embedded in admonition blocks, the content should align to the inner block.
113+
114+
.Collapsible Block Alignment Edge Case
115+
[%collapsible]
116+
====
117+
Previously, this content did not have any left padding.
118+
====

src/css/adoc/collapsible-blocks.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ details[open] > summary::after {
1313
transform: rotate(180deg);
1414
}
1515

16-
details > .content {
16+
details > .content, .admonitionblock details > .content {
1717
padding: 12px 32px;
1818
}
1919

0 commit comments

Comments
 (0)