Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove overflow hidden from external link outer el (#5356)

* Remove overflow hidden

* Borders when no thumb

* Fix overflow, add bg to no-thumb state

* Cleanup

authored by

Eric Bailey and committed by
GitHub
0681727b 42b28fec

+33 -3
+1 -1
src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
··· 59 59 } 60 60 61 61 return ( 62 - <View style={[a.flex_col, a.rounded_sm, a.overflow_hidden]}> 62 + <View style={[a.flex_col, a.rounded_sm]}> 63 63 <LinkWrapper link={link} onOpen={onOpen} style={style}> 64 64 {imageUri && !embedPlayerParams ? ( 65 65 <View>
+32 -2
src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx
··· 227 227 <Animated.View 228 228 ref={viewRef} 229 229 collapsable={false} 230 - style={[aspect, a.rounded_sm]}> 231 - {link.thumb && (!isPlayerActive || isLoading) && ( 230 + style={[ 231 + aspect, 232 + a.rounded_sm, 233 + a.overflow_hidden, 234 + { 235 + borderBottomLeftRadius: 0, 236 + borderBottomRightRadius: 0, 237 + }, 238 + ]}> 239 + {link.thumb && (!isPlayerActive || isLoading) ? ( 232 240 <> 233 241 <Image 234 242 style={[a.flex_1, styles.topRadius]} ··· 256 264 ]} 257 265 /> 258 266 </> 267 + ) : ( 268 + <Fill 269 + style={[ 270 + a.rounded_sm, 271 + { 272 + backgroundColor: 273 + t.name === 'light' ? t.palette.contrast_975 : 'black', 274 + borderBottomLeftRadius: 0, 275 + borderBottomRightRadius: 0, 276 + opacity: 0.3, 277 + }, 278 + ]} 279 + /> 259 280 )} 281 + <MediaInsetBorder 282 + opaque 283 + style={[ 284 + { 285 + borderBottomLeftRadius: 0, 286 + borderBottomRightRadius: 0, 287 + }, 288 + ]} 289 + /> 260 290 <PlaceholderOverlay 261 291 isLoading={isLoading} 262 292 isPlayerActive={isPlayerActive}