about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-09-19 15:32:12 +0100
committerGitHub <noreply@github.com>2024-09-19 15:32:12 +0100
commit8fde02fabcac588df3187a7e42108cb8f6a2239a (patch)
tree8d15138c21165fbe5b4448689654229906f32368 /src
parentbda355fd58a06b5fe7cf58a12d32769f75112a4f (diff)
downloadvoidsky-8fde02fabcac588df3187a7e42108cb8f6a2239a.tar.zst
Fix ext embeds in DMs (#5419)
* fix ext embeds in DMs

* undo acciental rounding change
Diffstat (limited to 'src')
-rw-r--r--src/lib/embeds.ts2
-rw-r--r--src/view/com/util/post-embeds/ExternalLinkEmbed.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/embeds.ts b/src/lib/embeds.ts
index a758987b2..2904f1cc3 100644
--- a/src/lib/embeds.ts
+++ b/src/lib/embeds.ts
@@ -1,7 +1,7 @@
 import {
-  AppBskyFeedDefs,
   AppBskyEmbedRecord,
   AppBskyEmbedRecordWithMedia,
+  AppBskyFeedDefs,
 } from '@atproto/api'
 
 export function isEmbedByEmbedder(
diff --git a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
index e6ab86f9c..2fc53a4df 100644
--- a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
+++ b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
@@ -59,7 +59,7 @@ export const ExternalLinkEmbed = ({
   }
 
   return (
-    <View style={[a.flex_col, a.rounded_sm]}>
+    <View style={[a.flex_col, a.w_full]}>
       <LinkWrapper link={link} onOpen={onOpen} style={style}>
         {imageUri && !embedPlayerParams ? (
           <View>