From f05aebf78e816aa06a98fb0f826b7164775b3cc4 Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Mon, 3 Jun 2024 15:05:37 -0700
Subject: don't use flexBasis on web for message post embeds (#4303)

* don't use flexBasis on web

* rm unnecessary style
---
 src/components/dms/MessageItemEmbed.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/dms/MessageItemEmbed.tsx')

diff --git a/src/components/dms/MessageItemEmbed.tsx b/src/components/dms/MessageItemEmbed.tsx
index 5d3656bac..dbdbe95b5 100644
--- a/src/components/dms/MessageItemEmbed.tsx
+++ b/src/components/dms/MessageItemEmbed.tsx
@@ -3,7 +3,7 @@ import {View} from 'react-native'
 import {AppBskyEmbedRecord} from '@atproto/api'
 
 import {PostEmbeds} from '#/view/com/util/post-embeds'
-import {atoms as a, useTheme} from '#/alf'
+import {atoms as a, native, useTheme} from '#/alf'
 
 let MessageItemEmbed = ({
   embed,
@@ -13,7 +13,7 @@ let MessageItemEmbed = ({
   const t = useTheme()
 
   return (
-    <View style={[a.my_xs, t.atoms.bg, a.rounded_md, {flexBasis: 0}]}>
+    <View style={[a.my_xs, t.atoms.bg, native({flexBasis: 0})]}>
       <PostEmbeds embed={embed} />
     </View>
   )
-- 
cgit 1.4.1

