@myst-theme/styles 0.2.5 → 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.5 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 1046ms.
8
+ Done in 1177ms.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## 0.2.6
10
+
11
+ ### Patch Changes
12
+
13
+ - 4c9b763a: Updates to styles for hover documents
14
+
3
15
  ## 0.2.5
4
16
 
5
17
  ### 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/hover.css CHANGED
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  .hover-document {
35
- @apply w-[500px] sm:max-w-[500px] bg-white dark:bg-slate-800 text-sm rounded border border-gray-50 shadow-xl article;
35
+ @apply bg-white dark:bg-slate-800 text-sm rounded border border-gray-50 shadow-xl article;
36
36
  }
37
37
 
38
38
  .hover-link {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myst-theme/styles",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "main": "index.js",
5
5
  "style": "app.css",
6
6
  "scripts": {