@mathscan/math-exercise-engine 1.2.7 → 1.2.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.
- package/dist/style.css +10 -4
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1087,7 +1087,8 @@ th.exercise-table-cell.exercise-table-cell--last-row:last-child {
|
|
|
1087
1087
|
.matcher-widget {
|
|
1088
1088
|
display: flex;
|
|
1089
1089
|
flex-direction: column;
|
|
1090
|
-
gap: clamp(10px, 2.5vw, 16px);
|
|
1090
|
+
gap: clamp(6px, min(max(10px, 2.5vw), 2.5vh), 16px);
|
|
1091
|
+
gap: clamp(6px, min(max(10px, 2.5vw), 2.5dvh), 16px);
|
|
1091
1092
|
width: min(100%, 580px);
|
|
1092
1093
|
margin-inline: auto;
|
|
1093
1094
|
}
|
|
@@ -1095,15 +1096,20 @@ th.exercise-table-cell.exercise-table-cell--last-row:last-child {
|
|
|
1095
1096
|
.matcher-row {
|
|
1096
1097
|
display: grid;
|
|
1097
1098
|
grid-template-columns: repeat(var(--matcher-cols, 3), minmax(0, 1fr));
|
|
1098
|
-
gap: clamp(10px, 2.5vw, 16px);
|
|
1099
|
+
gap: clamp(6px, min(max(10px, 2.5vw), 2.5vh), 16px);
|
|
1100
|
+
gap: clamp(6px, min(max(10px, 2.5vw), 2.5dvh), 16px);
|
|
1099
1101
|
}
|
|
1100
1102
|
|
|
1101
1103
|
.matcher-card {
|
|
1102
1104
|
display: flex;
|
|
1103
1105
|
align-items: center;
|
|
1104
1106
|
justify-content: center;
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
+
/* Bounded by viewport height too, so 3 rows fit on landscape phones (~330px tall).
|
|
1108
|
+
vh lines are fallbacks for WebViews without dvh support. */
|
|
1109
|
+
min-height: clamp(44px, min(max(72px, 14vw), 15vh), 96px);
|
|
1110
|
+
min-height: clamp(44px, min(max(72px, 14vw), 15dvh), 96px);
|
|
1111
|
+
padding: clamp(4px, min(max(8px, 2vw), 1.5vh), 12px);
|
|
1112
|
+
padding: clamp(4px, min(max(8px, 2vw), 1.5dvh), 12px);
|
|
1107
1113
|
border: 2px solid #ffca76;
|
|
1108
1114
|
border-radius: clamp(12px, 3vw, 17px);
|
|
1109
1115
|
background: #ffffff;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mathscan/math-exercise-engine",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"description": "A DSL parser and validator for math exercises - transforms text-based exercise definitions into structured AST and JSON",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|