Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Fix overflowing text on web and iOS in `PostMeta` (#3982)

* `flexShrink` on iOS and web

`flexShrink` on iOS and web

`flexShrink` on iOS and web

actually, `flexShrink`

use `flex`

* adjust web

* `expect-error` `onMouseUp`

* ignore ref type check

authored by

Hailey and committed by
GitHub
e02cae2a d49b93dc

+6 -6
+5 -5
src/components/ProfileHoverCard/index.web.tsx
··· 285 285 } 286 286 287 287 return ( 288 - <div 288 + <View 289 + // @ts-ignore View is being used as div 289 290 ref={refs.setReference} 290 291 onPointerMove={onPointerMoveTarget} 291 292 onPointerLeave={onPointerLeaveTarget} 293 + // @ts-ignore web only prop 292 294 onMouseUp={onPress} 293 - style={{ 294 - display: props.inline ? 'inline' : 'block', 295 - }}> 295 + style={{flexShrink: 1}}> 296 296 {props.children} 297 297 {isVisible && ( 298 298 <Portal> ··· 307 307 </div> 308 308 </Portal> 309 309 )} 310 - </div> 310 + </View> 311 311 ) 312 312 } 313 313
+1 -1
src/view/com/util/PostMeta.tsx
··· 142 142 }, 143 143 maxWidth: { 144 144 flex: isAndroid ? 1 : undefined, 145 - maxWidth: !isAndroid ? '80%' : undefined, 145 + flexShrink: isAndroid ? undefined : 1, 146 146 }, 147 147 })