diff --git a/app/javascript/mastodon/components/timeline_hint.tsx b/app/javascript/mastodon/components/timeline_hint.tsx index bf2a2d8bba..6faad2fbb8 100644 --- a/app/javascript/mastodon/components/timeline_hint.tsx +++ b/app/javascript/mastodon/components/timeline_hint.tsx @@ -1,12 +1,15 @@ import { FormattedMessage } from 'react-intl'; +import classNames from 'classnames'; + interface Props { resource: JSX.Element; url: string; + className?: string; } -export const TimelineHint: React.FC = ({ resource, url }) => ( -
+export const TimelineHint: React.FC = ({ className, resource, url }) => ( +
} />; + remoteHint = } />; } const handlers = { diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 90881b0f19..7ffbf482c2 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -4248,6 +4248,10 @@ a.status-card { } } +.timeline-hint--with-descendants { + border-top: 1px solid var(--background-border-color); +} + .regeneration-indicator { text-align: center; font-size: 16px;