avoid headers wrapping
This commit is contained in:
@ -73,10 +73,10 @@ export default function VideoGridSorted({ evs, showAll }: { evs: Array<TaggedNos
|
|||||||
function GridSection({ header, items }: { header: ReactNode; items: Array<TaggedNostrEvent> }) {
|
function GridSection({ header, items }: { header: ReactNode; items: Array<TaggedNostrEvent> }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h2 className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
{header}
|
<h2 className="whitespace-nowrap">{header}</h2>
|
||||||
<span className="h-[1px] bg-layer-1 w-full" />
|
<span className="h-[1px] bg-layer-1 w-full" />
|
||||||
</h2>
|
</div>
|
||||||
<VideoGrid>
|
<VideoGrid>
|
||||||
{items.map(e => (
|
{items.map(e => (
|
||||||
<VideoTile ev={e} key={e.id} />
|
<VideoTile ev={e} key={e.id} />
|
||||||
|
Reference in New Issue
Block a user