mirror of
https://github.com/tooot-app/app
synced 2025-05-10 06:49:03 +02:00
parent
4b8885ef2c
commit
05a46f23b9
@ -341,7 +341,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
|||||||
StyleConstants.Spacing.M + StyleConstants.Avatar.XS / 2
|
StyleConstants.Spacing.M + StyleConstants.Avatar.XS / 2
|
||||||
} ` +
|
} ` +
|
||||||
`a ${ARC} ${ARC} 0 0 0 -${ARC} ${ARC} ` +
|
`a ${ARC} ${ARC} 0 0 0 -${ARC} ${ARC} ` +
|
||||||
`v 999`
|
`v ${heights[index] || 300}`
|
||||||
}
|
}
|
||||||
strokeWidth={1}
|
strokeWidth={1}
|
||||||
stroke={colors.border}
|
stroke={colors.border}
|
||||||
@ -357,7 +357,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
|||||||
d={
|
d={
|
||||||
`M ${(i + 1) * StyleConstants.Spacing.S} 0 ` +
|
`M ${(i + 1) * StyleConstants.Spacing.S} 0 ` +
|
||||||
`v ${
|
`v ${
|
||||||
(heights[index] || 999) -
|
(heights[index] || 300) -
|
||||||
(StyleConstants.Spacing.S * 1.5 + StyleConstants.Font.Size.L) / 2 -
|
(StyleConstants.Spacing.S * 1.5 + StyleConstants.Font.Size.L) / 2 -
|
||||||
StyleConstants.Avatar.XS / 2
|
StyleConstants.Avatar.XS / 2
|
||||||
} ` +
|
} ` +
|
||||||
@ -378,7 +378,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
|||||||
d={
|
d={
|
||||||
`M ${(i + 1) * StyleConstants.Spacing.S} 0 ` +
|
`M ${(i + 1) * StyleConstants.Spacing.S} 0 ` +
|
||||||
`v ${
|
`v ${
|
||||||
(heights[index] || 999) -
|
(heights[index] || 300) -
|
||||||
(StyleConstants.Spacing.S * 1.5 +
|
(StyleConstants.Spacing.S * 1.5 +
|
||||||
StyleConstants.Font.Size.L * 1.35) /
|
StyleConstants.Font.Size.L * 1.35) /
|
||||||
2
|
2
|
||||||
@ -395,7 +395,10 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
|||||||
return (
|
return (
|
||||||
<Svg key={i} style={{ position: 'absolute' }} fill='none'>
|
<Svg key={i} style={{ position: 'absolute' }} fill='none'>
|
||||||
<Path
|
<Path
|
||||||
d={`M ${(i + 1) * StyleConstants.Spacing.S} 0 ` + `v 999`}
|
d={
|
||||||
|
`M ${(i + 1) * StyleConstants.Spacing.S} 0 ` +
|
||||||
|
`v ${heights[index] || 300}`
|
||||||
|
}
|
||||||
strokeWidth={1}
|
strokeWidth={1}
|
||||||
stroke={colors.border}
|
stroke={colors.border}
|
||||||
strokeOpacity={0.6}
|
strokeOpacity={0.6}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user