File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export function HeaderWrapper({
3636 return (
3737 < header
3838 className = { cn (
39- 'bg-white/80 dark:bg-gray-950/80 backdrop-blur-xl border-b border-gray-200 dark:border-gray-800 px-6 flex items-center justify-between h-10 z-10 relative' ,
39+ 'bg-white/80 dark:bg-gray-950/80 backdrop-blur-xl border-b border-gray-200 dark:border-gray-800 px-6 flex items-center justify-between h-10 z-10 relative gap-6 ' ,
4040 className ,
4141 ) }
4242 >
@@ -51,15 +51,15 @@ export function HeaderWrapper({
5151export function HeaderBreadcrumbs ( ) {
5252 const matches = useMatches ( )
5353 return (
54- < ol className = 'flex items-center gap-2' >
54+ < ol className = 'flex w-0 grow items-center gap-2' >
5555 { matches
5656 . filter ( ( match ) => match . handle && match . handle . breadcrumb )
5757 . map ( ( match , index ) => (
5858 < Fragment key = { match . id } >
5959 { index !== 0 && (
6060 < ChevronRight className = 'text-gray-300 dark:text-gray-600 h-4 w-4 mt-0.5' />
6161 ) }
62- < li >
62+ < li className = 'last:truncate' >
6363 < HeaderLink { ...( match . handle as Handle ) . breadcrumb ( match ) } />
6464 </ li >
6565 </ Fragment >
@@ -84,7 +84,7 @@ export function HeaderActions() {
8484 ( match ) => match . id . includes ( 'login' ) || match . id . includes ( 'join' ) ,
8585 )
8686 return (
87- < div className = 'flex items-center' >
87+ < div className = 'flex-none flex items-center' >
8888 { ! isLoginPage && user == null && < LogInButton /> }
8989 { ! isLoginPage && user != null && < LogOutButton /> }
9090 { user ?. username != null && (
You can’t perform that action at this time.
0 commit comments