@khanacademy/perseus 22.0.2 → 22.2.0

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/index.css CHANGED
@@ -2470,7 +2470,10 @@ img.zoom-img {
2470
2470
  padding-top: 5px;
2471
2471
  }
2472
2472
  .framework-perseus .svg-image {
2473
- display: inline-block;
2473
+ display: block;
2474
+ margin: 0 auto;
2475
+ margin-inline-start: auto;
2476
+ margin-inline-end: auto;
2474
2477
  }
2475
2478
  .framework-perseus .unresponsive-svg-image,
2476
2479
  .framework-perseus .perseus-rendered-radio .unresponsive-svg-image {
@@ -2750,6 +2753,16 @@ body.mobile .categorizer-container td.category input[type="radio"] + span:active
2750
2753
  .perseus-image-editor .graph-settings {
2751
2754
  margin-top: 5px;
2752
2755
  }
2756
+ .perseus-image-widget {
2757
+ margin-inline-start: auto;
2758
+ margin-inline-end: auto;
2759
+ }
2760
+ .perseus-hint-renderer .perseus-image-widget {
2761
+ margin-inline-start: 0;
2762
+ }
2763
+ .perseus-hint-renderer .svg-image {
2764
+ margin-inline-start: 0;
2765
+ }
2753
2766
  .perseus-widget-interactive-graph {
2754
2767
  box-sizing: content-box;
2755
2768
  padding: 25px 25px 0 0;
@@ -4159,6 +4172,7 @@ html body .mq-editable-field .mq-selection .mq-nthroot-container * {
4159
4172
 
4160
4173
  --mafs-origin-color: var(--mafs-fg);
4161
4174
  --mafs-line-color: #555;
4175
+ --mafs-line-stroke-dash-style: 4, 3;
4162
4176
  --grid-line-subdivision-color: #222;
4163
4177
 
4164
4178
  --mafs-red: #f11d0e;