presi-slides 1.0.14 → 1.0.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presi-slides",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Make slides with Markdown",
5
5
  "keywords": [
6
6
  "Presentation",
package/public/slides.css CHANGED
@@ -954,7 +954,7 @@ slide-view:not(:has(h1[layout])) {
954
954
 
955
955
  &:has(> h3 + pre) {
956
956
  --slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
957
- --grid-content-rows: min-content minmax(20%, 1fr) minmax(20%, 1fr);
957
+ --grid-content-rows: min-content minmax(min-content, 1fr) minmax(20%, 1fr);
958
958
  }
959
959
 
960
960
  &:has(> aside ~ h3:nth-of-type(2)) {
@@ -997,7 +997,7 @@ slide-view:not(:has(h1[layout])) {
997
997
  /* side-by-side w/images in each stack */
998
998
 
999
999
  &:has(> h3 + * + p:not(.full) > img:only-child) {
1000
- --grid-content-rows: min-content auto minmax(50%, 1fr);
1000
+ --grid-content-rows: min-content auto minmax(min-content, 1fr);
1001
1001
  --slide-image-template: "i i i i i i i2 i2 i2 i2 i2 i2";
1002
1002
  }
1003
1003
  &:has(> h3 + p:not(.full) > img:only-child) {
@@ -1154,11 +1154,13 @@ slide-view:not(:has(h1[layout])) {
1154
1154
  &:has(> h3 + :is(ol, ul, table), > h3 + pre + :is(ol, ul, table)) {
1155
1155
  --slide-list-template: "b b b b b b b2 b2 b2 b2 b2 b2";
1156
1156
  --slide-list-template-2: "b3 b3 b3 b3 b3 b3 b4 b4 b4 b4 b4 b4";
1157
+ --grid-content-rows: min-content minmax(min-content, 1fr) min-content minmax(min-content, 1fr);
1157
1158
  }
1158
1159
 
1159
1160
  &:has(> h3 + pre) {
1160
1161
  --slide-code-template: "c c c c c c c2 c2 c2 c2 c2 c2";
1161
1162
  --slide-code-template-2: "c3 c3 c3 c3 c3 c3 c4 c4 c4 c4 c4 c4";
1163
+ --grid-content-rows: min-content minmax(min-content, 1fr) min-content minmax(min-content, 1fr);
1162
1164
  }
1163
1165
 
1164
1166
  &:has(> h3 + * + p > img:only-child) {