Revert "Fix text overflow in post meta on web (#10122)"
This reverts commit 2c828b5755.
This commit is contained in:
@@ -519,7 +519,6 @@ function Inner({
|
|||||||
a.leading_snug,
|
a.leading_snug,
|
||||||
a.font_semi_bold,
|
a.font_semi_bold,
|
||||||
a.self_start,
|
a.self_start,
|
||||||
{minWidth: 0},
|
|
||||||
]}>
|
]}>
|
||||||
{sanitizeDisplayName(
|
{sanitizeDisplayName(
|
||||||
profile.displayName || sanitizeHandle(profile.handle),
|
profile.displayName || sanitizeHandle(profile.handle),
|
||||||
|
|||||||
@@ -82,16 +82,9 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
|
|||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
<View
|
<View style={[a.flex_row, a.align_end, a.flex_shrink]}>
|
||||||
style={[a.flex_row, a.align_end, a.flex_shrink, web({minWidth: 0})]}>
|
|
||||||
<ProfileHoverCard did={author.did}>
|
<ProfileHoverCard did={author.did}>
|
||||||
<View
|
<View style={[a.flex_row, a.align_end, a.flex_shrink]}>
|
||||||
style={[
|
|
||||||
a.flex_row,
|
|
||||||
a.align_end,
|
|
||||||
a.flex_shrink,
|
|
||||||
web({minWidth: 0}),
|
|
||||||
]}>
|
|
||||||
<MaybeLinkText
|
<MaybeLinkText
|
||||||
emoji
|
emoji
|
||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
@@ -132,7 +125,6 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
|
|||||||
t.atoms.text_contrast_medium,
|
t.atoms.text_contrast_medium,
|
||||||
a.leading_tight,
|
a.leading_tight,
|
||||||
{flexShrink: 10},
|
{flexShrink: 10},
|
||||||
web({minWidth: 0}),
|
|
||||||
]}>
|
]}>
|
||||||
{NON_BREAKING_SPACE + sanitizeHandle(handle, '@')}
|
{NON_BREAKING_SPACE + sanitizeHandle(handle, '@')}
|
||||||
</MaybeLinkText>
|
</MaybeLinkText>
|
||||||
|
|||||||
Reference in New Issue
Block a user