Merge branch 'timestamp-muted' into 'develop'

RelativeTimestamp: make text muted

See merge request soapbox-pub/soapbox-fe!1563
environments/review-develop-3zknud/deployments/351
Alex Gleason 2022-06-22 23:03:23 +00:00
commit cb53abd2bb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -179,7 +179,7 @@ class RelativeTimestamp extends React.Component {
const relativeTime = futureDate ? timeRemainingString(intl, date, this.state.now) : timeAgoString(intl, date, this.state.now, year);
return (
<Text {...textProps} theme='inherit' tag='time' title={intl.formatDate(date, dateFormatOptions)}>
<Text {...textProps} theme='muted' tag='time' title={intl.formatDate(date, dateFormatOptions)}>
{relativeTime}
</Text>
);