Skip to content

Commit b65245a

Browse files
committed
fix: min bottom height
1 parent 76cc834 commit b65245a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/prettier.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
- name: Commit and push eslint changes
4444
if: steps.changes.outputs.changes == 'true'
4545
run: |
46+
echo "changes=false" >> $GITHUB_OUTPUT
4647
git config user.name "${{ github.actor }}"
4748
git config user.email "${{ github.actor }}@users.noreply.github.com"
4849
git add .

app/containers/ActionSheet/ActionSheet.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ const ActionSheet = React.memo(
129129
const fraction = Math.min(contentHeight / windowHeight, ACTION_SHEET_MAX_HEIGHT_FRACTION);
130130
const contentDetent = Math.max(0.25, fraction);
131131
detents =
132-
contentDetent > ACTION_SHEET_MIN_HEIGHT_FRACTION
133-
? [ACTION_SHEET_MIN_HEIGHT_FRACTION, contentDetent]
134-
: [contentDetent];
132+
contentDetent > ACTION_SHEET_MIN_HEIGHT_FRACTION ? [ACTION_SHEET_MIN_HEIGHT_FRACTION, contentDetent] : [contentDetent];
135133
} else {
136134
detents = [ACTION_SHEET_MIN_HEIGHT_FRACTION, 'auto'];
137135
}

0 commit comments

Comments
 (0)