Align on the offset hack we need for posts with no content

This commit is contained in:
Eric Bailey
2026-04-14 17:36:02 -05:00
parent 25f66f8cbe
commit 0654d11c20
6 changed files with 123 additions and 99 deletions
+3
View File
@@ -1,3 +1,6 @@
export const ITEM_GAP = 8 // tokens.space.sm
export const MIN_ASPECT_RATIO = 2 / 3 // portrait limit
export const MAX_ASPECT_RATIO = 3 / 2 // landscape limit
export const POST_META_NO_CONTENT_OFFSET = {paddingTop: 10}
export const POST_EMBED_NO_CONTENT_OFFSET = {paddingTop: 6}
+2
View File
@@ -41,6 +41,8 @@ import {Text} from '#/components/Typography'
import {useAnalytics} from '#/analytics'
import {IS_WEB} from '#/env'
export * from './const'
interface GalleryProps {
images: AppBskyEmbedImages.ViewImage[]
onPress?: (