Squash carousel in chat messages, fix rounding (#10286)

This commit is contained in:
Eric Bailey
2026-04-17 14:24:42 -05:00
committed by GitHub
parent 43108533eb
commit 587dc8dfe8
4 changed files with 17 additions and 20 deletions
+2 -2
View File
@@ -30,7 +30,6 @@ let MessageItemEmbed = ({
style={[
!isFromSelf && a.ml_sm,
t.atoms.bg,
a.rounded_md,
native({
flexBasis: 0,
width: Math.min(screen.width, 600) / 1.4,
@@ -48,9 +47,10 @@ let MessageItemEmbed = ({
<Embed
embed={embed}
allowNestedQuotes
viewContext={PostEmbedViewContext.Feed}
viewContext={PostEmbedViewContext.ChatMessage}
style={[
a.rounded_xl,
a.overflow_hidden,
a.border_0,
isFromSelf
? {