starlight-cannoli-plugins 1.0.6 → 1.0.8

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.
@@ -20,6 +20,10 @@ img.note-svg {
20
20
  }
21
21
  }
22
22
 
23
+ .katex-html svg {
24
+ height: inherit;
25
+ }
26
+
23
27
  /************ Starlight Additions/Overrides ************/
24
28
 
25
29
  .sl-container:where(.astro-7nkwcw3z) {
@@ -111,17 +115,14 @@ mjx-container[jax="SVG"] {
111
115
  overflow-x: auto;
112
116
 
113
117
  &[display="true"] {
114
- margin-top: 0.7em !important;
115
- margin-bottom: 0.7em !important;
116
- padding-top: 0.3em;
117
- padding-bottom: 0.3em;
118
+ margin: 0.5em 0 !important;
119
+ padding: 0.5em 0 !important;
118
120
  }
121
+ }
119
122
 
120
- > svg {
121
- display: unset;
122
- max-width: unset;
123
- height: unset;
124
- }
123
+ .katex-display {
124
+ margin: 0.5em 0 !important;
125
+ padding: 0.5em 0 !important;
125
126
  }
126
127
 
127
128
  /********** TikZ SVG Styling **********/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "starlight-cannoli-plugins",
3
3
  "type": "module",
4
- "version": "1.0.6",
4
+ "version": "1.0.8",
5
5
  "description": "Starlight plugins for automatic sidebar generation and link validation",
6
6
  "license": "ISC",
7
7
  "main": "./dist/index.js",