kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Make the Home Feed tabs sticky
rodzic
3bba1389bc
commit
773b26409e
|
@ -15,6 +15,7 @@ const HomeTimeline = () => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<div className='sticky top-11 z-50 bg-white black:bg-black dark:bg-primary-900 lg:top-0'>
|
||||
<Tabs
|
||||
items={[
|
||||
{
|
||||
|
@ -32,6 +33,7 @@ const HomeTimeline = () => {
|
|||
]}
|
||||
activeItem={match.path}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Suspense fallback={<div className='p-4 text-center'><FormattedMessage id='loading_indicator.label' defaultMessage='Loading…' /></div>}>
|
||||
<Switch>
|
||||
|
|
Ładowanie…
Reference in New Issue