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
This commit is contained in:
@@ -142,6 +142,6 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
maxWidth: {
|
||||
flex: isAndroid ? 1 : undefined,
|
||||
maxWidth: !isAndroid ? '80%' : undefined,
|
||||
flexShrink: isAndroid ? undefined : 1,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user