about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-10-10 20:27:31 -0700
committerGitHub <noreply@github.com>2024-10-10 20:27:31 -0700
commita8fb8dc6b2bdb17170394075dba85e15117b805a (patch)
tree519788eb9bad67dfbf5877f0fe73d8a67d469bda /src
parentf9b01e9eaca9628ec00c812073815318614abc40 (diff)
downloadvoidsky-a8fb8dc6b2bdb17170394075dba85e15117b805a.tar.zst
GIF dialog is scrollable on web (#5704)
Diffstat (limited to 'src')
-rw-r--r--src/components/dialogs/GifSelect.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/dialogs/GifSelect.tsx b/src/components/dialogs/GifSelect.tsx
index 765e9415d..ffd8130db 100644
--- a/src/components/dialogs/GifSelect.tsx
+++ b/src/components/dialogs/GifSelect.tsx
@@ -22,7 +22,7 @@ import {
 import {ErrorScreen} from '#/view/com/util/error/ErrorScreen'
 import {ErrorBoundary} from '#/view/com/util/ErrorBoundary'
 import {ListMethods} from '#/view/com/util/List'
-import {atoms as a, ios, native, useBreakpoints, useTheme} from '#/alf'
+import {atoms as a, ios, native, useBreakpoints, useTheme, web} from '#/alf'
 import {Button, ButtonIcon, ButtonText} from '#/components/Button'
 import * as Dialog from '#/components/Dialog'
 import * as TextField from '#/components/forms/TextField'
@@ -205,7 +205,10 @@ function GifList({
         renderItem={renderItem}
         numColumns={gtMobile ? 3 : 2}
         columnWrapperStyle={[a.gap_sm]}
-        contentContainerStyle={[native([a.px_xl, {minHeight: height}])]}
+        contentContainerStyle={[
+          native([a.px_xl, {minHeight: height}]),
+          web(a.h_full_vh),
+        ]}
         ListHeaderComponent={
           <>
             {listHeader}