@openedx/paragon 22.15.2 → 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.2",
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",
@@ -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;