@openedx/paragon 22.15.1 → 22.15.3

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": "@openedx/paragon",
3
- "version": "22.15.1",
3
+ "version": "22.15.3",
4
4
  "description": "Accessible, responsive UI component library based on Bootstrap.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -380,6 +380,7 @@ select.form-control {
380
380
  appearance: none;
381
381
  height: $custom-control-indicator-size;
382
382
  width: $custom-control-indicator-size;
383
+ min-width: $custom-control-indicator-size;
383
384
  background-color: $custom-control-indicator-bg;
384
385
  border: solid $custom-control-indicator-border-width $custom-control-indicator-border-color;
385
386
  border-radius: $custom-checkbox-indicator-border-radius;
@@ -437,6 +438,7 @@ select.form-control {
437
438
 
438
439
  .pgn__form-switch-input {
439
440
  width: $custom-switch-width;
441
+ min-width: $custom-switch-width;
440
442
  border-radius: $custom-switch-indicator-border-radius;
441
443
  background-image: escape-svg($custom-switch-indicator-icon-off);
442
444
  background-position: left center;
@@ -20,11 +20,11 @@ function AlertModal({
20
20
  <ModalDialog.Header>
21
21
  <ModalDialog.Title>
22
22
  {icon && (
23
- <Icon
24
- data-testid="title-icon"
25
- src={icon}
26
- className={classNames('pgn__alert-modal__title_icon')}
27
- />
23
+ <Icon
24
+ data-testid="title-icon"
25
+ src={icon}
26
+ className={classNames('pgn__alert-modal__title_icon')}
27
+ />
28
28
  )}
29
29
  {props.title}
30
30
  </ModalDialog.Title>
@@ -125,6 +125,7 @@
125
125
 
126
126
  .pgn__modal-title {
127
127
  font-size: $h3-font-size;
128
+ line-height: $h3-font-size * $headings-line-height;
128
129
  margin-inline-end: 3rem; // roughly accomodate the width of the close buttonn
129
130
  text-align: start;
130
131
  }
@@ -310,7 +311,6 @@
310
311
  }
311
312
 
312
313
  .pgn__modal-title {
313
- font-size: $h4-font-size;
314
314
  display: flex;
315
315
  flex-grow: 1;
316
316
  align-items: center;