Merge branch 'fix-pinned-instances' into 'main'

fix issue with instance pin overflow, restyle

See merge request soapbox-pub/soapbox!3076
This commit is contained in:
Alex Gleason 2024-07-20 21:52:34 +00:00
commit 13d3c65b3a
1 changed files with 2 additions and 1 deletions

View File

@ -15,13 +15,14 @@ const PinnedHostsPicker: React.FC<IPinnedHostsPicker> = ({ host: activeHost }) =
if (!pinnedHosts.length) return null;
return (
<HStack className='mb-4' space={2}>
<HStack className='mb-4 flex-wrap items-start justify-evenly'>
{pinnedHosts.map((host) => (
<Button
key={host}
to={`/timeline/${host}`}
size='sm'
theme={host === activeHost ? 'accent' : 'secondary'}
className='m-1 w-40 p-1'
>
{host}
</Button>