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