Fix overflow
This commit is contained in:
@@ -49,7 +49,7 @@ export function StandardSiteMetaRow({
|
|||||||
const DomainIcon = articlePublisher?.Icon
|
const DomainIcon = articlePublisher?.Icon
|
||||||
const metaTextStyle = [
|
const metaTextStyle = [
|
||||||
a.text_xs,
|
a.text_xs,
|
||||||
a.leading_snug,
|
a.leading_tight,
|
||||||
t.atoms.text_contrast_medium,
|
t.atoms.text_contrast_medium,
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ export function StandardSiteMetaRow({
|
|||||||
items.push({
|
items.push({
|
||||||
key: 'domain',
|
key: 'domain',
|
||||||
node: (
|
node: (
|
||||||
<View style={[a.flex_row, a.align_center]}>
|
<View style={[a.flex_shrink, a.flex_row, a.align_center]}>
|
||||||
{DomainIcon && (
|
{DomainIcon && (
|
||||||
<DomainIcon size="sm" fill={t.atoms.text_contrast_medium.color} />
|
<DomainIcon size="sm" fill={t.atoms.text_contrast_medium.color} />
|
||||||
)}
|
)}
|
||||||
@@ -75,7 +75,7 @@ export function StandardSiteMetaRow({
|
|||||||
items.push({
|
items.push({
|
||||||
key: 'author',
|
key: 'author',
|
||||||
node: (
|
node: (
|
||||||
<Text numberOfLines={1} style={metaTextStyle}>
|
<Text numberOfLines={1} style={[metaTextStyle]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
by{' '}
|
by{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
@@ -85,7 +85,9 @@ export function StandardSiteMetaRow({
|
|||||||
metaTextStyle,
|
metaTextStyle,
|
||||||
preview ? a.pointer_events_none : a.pointer_events_auto,
|
preview ? a.pointer_events_none : a.pointer_events_auto,
|
||||||
]}
|
]}
|
||||||
onPress={() => {
|
onPress={e => {
|
||||||
|
e.stopPropagation()
|
||||||
|
e.preventDefault()
|
||||||
ax.metric('embed:standardSite:authorHandle:press', {
|
ax.metric('embed:standardSite:authorHandle:press', {
|
||||||
handle: authorProfile.handle,
|
handle: authorProfile.handle,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -356,7 +356,12 @@ export function PublicationCard({
|
|||||||
<View style={[a.flex_1, a.gap_2xs]}>
|
<View style={[a.flex_1, a.gap_2xs]}>
|
||||||
<Text
|
<Text
|
||||||
numberOfLines={1}
|
numberOfLines={1}
|
||||||
style={[a.text_md, a.font_semi_bold, t.atoms.text]}>
|
style={[
|
||||||
|
a.text_md,
|
||||||
|
a.font_semi_bold,
|
||||||
|
t.atoms.text,
|
||||||
|
a.leading_snug,
|
||||||
|
]}>
|
||||||
{view.source?.title}
|
{view.source?.title}
|
||||||
</Text>
|
</Text>
|
||||||
<StandardSiteMetaRow
|
<StandardSiteMetaRow
|
||||||
@@ -615,6 +620,7 @@ export function PublicationFooter({
|
|||||||
style={[
|
style={[
|
||||||
a.text_sm,
|
a.text_sm,
|
||||||
a.font_medium,
|
a.font_medium,
|
||||||
|
a.leading_tight,
|
||||||
t.atoms.text,
|
t.atoms.text,
|
||||||
interacted && a.underline,
|
interacted && a.underline,
|
||||||
]}>
|
]}>
|
||||||
|
|||||||
Reference in New Issue
Block a user