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({
36
36
return (
37
37
< header
38
38
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 ' ,
40
40
className ,
41
41
) }
42
42
>
@@ -51,15 +51,15 @@ export function HeaderWrapper({
51
51
export function HeaderBreadcrumbs ( ) {
52
52
const matches = useMatches ( )
53
53
return (
54
- < ol className = 'flex items-center gap-2' >
54
+ < ol className = 'flex w-0 grow items-center gap-2' >
55
55
{ matches
56
56
. filter ( ( match ) => match . handle && match . handle . breadcrumb )
57
57
. map ( ( match , index ) => (
58
58
< Fragment key = { match . id } >
59
59
{ index !== 0 && (
60
60
< ChevronRight className = 'text-gray-300 dark:text-gray-600 h-4 w-4 mt-0.5' />
61
61
) }
62
- < li >
62
+ < li className = 'last:truncate' >
63
63
< HeaderLink { ...( match . handle as Handle ) . breadcrumb ( match ) } />
64
64
</ li >
65
65
</ Fragment >
@@ -84,7 +84,7 @@ export function HeaderActions() {
84
84
( match ) => match . id . includes ( 'login' ) || match . id . includes ( 'join' ) ,
85
85
)
86
86
return (
87
- < div className = 'flex items-center' >
87
+ < div className = 'flex-none flex items-center' >
88
88
{ ! isLoginPage && user == null && < LogInButton /> }
89
89
{ ! isLoginPage && user != null && < LogOutButton /> }
90
90
{ user ?. username != null && (
You can’t perform that action at this time.
0 commit comments