Merge pull request 'feat: add following title' (#78) from following-title into main

Reviewed-on: Kieran/stream#78
Reviewed-by: Kieran <kieran@noreply.localhost>
This commit is contained in:
Kieran 2023-08-06 14:01:26 +00:00
commit e607df56df
3 changed files with 18 additions and 5 deletions

View File

@ -111,6 +111,10 @@
flex-wrap: wrap;
}
.live-chat .zap-content a {
color: var(--text-link);
}
.top-zappers {
display: flex;
flex-direction: column;

View File

@ -38,6 +38,12 @@
display: flex;
}
@media (max-width: 1020px) {
.divider {
padding: 0 8px;
}
}
.divider:after {
content: "";
flex: 1;

View File

@ -32,11 +32,14 @@ export function RootPage() {
return (
<div className="homepage">
{hasFollowingLive && (
<div className="video-grid">
{following.map((e) => (
<VideoTile ev={e} key={e.id} />
))}
</div>
<>
<h2 className="divider line one-line">Following</h2>
<div className="video-grid">
{following.map((e) => (
<VideoTile ev={e} key={e.id} />
))}
</div>
</>
)}
{!hasFollowingLive && (
<div className="video-grid">