@myst-theme/styles 0.2.6 → 0.2.7

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.
@@ -1,8 +1,8 @@
1
1
 
2
- > @myst-theme/styles@0.2.6 build
2
+ > @myst-theme/styles@0.2.7 build
3
3
  > tailwindcss -m -i ./app.css -o ../docs/public/tailwind.css
4
4
 
5
5
 
6
6
  Rebuilding...
7
7
 
8
- Done in 1171ms.
8
+ Done in 1177ms.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @myst-theme/styles
2
2
 
3
+ ## 0.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 3d1daa78: Improve dropdown animation for margin-collapsed paragraphs
8
+
3
9
  ## 0.2.6
4
10
 
5
11
  ### Patch Changes
package/details.css CHANGED
@@ -13,6 +13,10 @@ details[open] > summary {
13
13
  /* Fake the animation */
14
14
  margin-bottom: 10px;
15
15
  }
16
+ details .details-body {
17
+ /* Prevent margin collapse of children */
18
+ overflow: auto;
19
+ }
16
20
  details[open] .details-body {
17
21
  /* But keep the placement */
18
22
  margin-top: -10px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myst-theme/styles",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "main": "index.js",
5
5
  "style": "app.css",
6
6
  "scripts": {