Skip to content

Commit c993512

Browse files
authored
chore: Release 23.2.1 in 24.1.4-beta (#822)
1 parent 58547ad commit c993512

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Reactist follows [semantic versioning](https://semver.org/) and doesn't introduce breaking changes (API-wise) in minor or patch releases. However, the appearance of a component might change in a minor or patch release so keep an eye on redesigns and make sure your app still looks and feels like you expect it.
44

5+
# v24.1.4-beta
6+
7+
- [Fix] Include changes from [v23.2.1](#v2321) in the beta release
8+
59
# v24.1.3-beta
610

711
- [Fix] Remove unsupported `onPointerEnterCapture` and `onPointerLeaveCapture` props from `heading`-, `input`-, and `textarea`-based components.
@@ -25,6 +29,10 @@ Reactist follows [semantic versioning](https://semver.org/) and doesn't introduc
2529

2630
- [BREAKING] Upgrade Ariakit from legacy package to the newer @ariakit/react
2731

32+
# v23.2.1
33+
34+
- [Fix] Adjust modal alignment to the middle of the viewport at `800px` breakpoint for improved UX.
35+
2836
# v23.2.0
2937

3038
- [Feat] Add `medium` as a `weight` option for `Header`.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"email": "henning@doist.com",
77
"url": "http://doist.com"
88
},
9-
"version": "24.1.3-beta",
9+
"version": "24.1.4-beta",
1010
"license": "MIT",
1111
"homepage": "https://github.com/Doist/reactist#readme",
1212
"repository": {

src/modal/modal.module.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
.overlay.fitContent > [data-focus-lock-disabled] {
4444
padding-top: var(--reactist-modal-padding-top);
4545
}
46-
.overlay.fitContent > [data-focus-lock-disabled] .container {
47-
max-height: calc(100vh - 2 * var(--reactist-modal-padding-top));
48-
}
4946

5047
.container {
5148
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
@@ -118,6 +115,19 @@
118115
}
119116
}
120117

118+
@media (min-height: 800px) {
119+
.overlay.fitContent > [data-focus-lock-disabled] .container {
120+
max-height: calc(100vh - 2 * var(--reactist-modal-padding-top));
121+
}
122+
}
123+
124+
@media (max-height: 800px) {
125+
.overlay.fitContent > [data-focus-lock-disabled] {
126+
padding-top: var(--reactist-spacing-xxlarge);
127+
justify-content: center;
128+
}
129+
}
130+
121131
/* header */
122132

123133
.buttonContainer {

0 commit comments

Comments
 (0)