about summary refs log tree commit diff
path: root/src/components/StarterPack/StarterPackCard.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-10-24 20:44:24 +0100
committerGitHub <noreply@github.com>2024-10-24 20:44:24 +0100
commit0ecc98d0de4bcc086902f83e14da529ce6569730 (patch)
tree8617f1463b5d1868bc75aed350a1a54efee996f0 /src/components/StarterPack/StarterPackCard.tsx
parent3327c479575da7f5b3c3a457ec53a24ad9a2cda1 (diff)
downloadvoidsky-0ecc98d0de4bcc086902f83e14da529ce6569730.tar.zst
Display non-post embeds in composer preview (#5647)
* Display non-post embeds in composer preview

* Remove starter pack special case from ExternalLinkEmbed

This should not be needed because starter pack composer preview now goes through the record preview codepath, just like in the feed/post view.

* Hide record ext links if quote is present

* Align remove buttons

Remove the implicit top padding in record embeds and make it conditional, which is similar to how we treat external link embeds. This makes the X button appear in the same place for record embeds as with links.
Diffstat (limited to 'src/components/StarterPack/StarterPackCard.tsx')
-rw-r--r--src/components/StarterPack/StarterPackCard.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/StarterPack/StarterPackCard.tsx b/src/components/StarterPack/StarterPackCard.tsx
index 6af1e1358..ce458bc84 100644
--- a/src/components/StarterPack/StarterPackCard.tsx
+++ b/src/components/StarterPack/StarterPackCard.tsx
@@ -141,7 +141,6 @@ export function Embed({
   return (
     <View
       style={[
-        a.mt_xs,
         a.border,
         a.rounded_sm,
         a.overflow_hidden,