File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,15 @@ const AppMenu = () => {
1717 const requiresAuthorization = isAuthorizationRequired ( ) ;
1818 const { componentSpec } = useComponentSpec ( ) ;
1919 const title = componentSpec ?. name ;
20+
2021 return (
2122 < div
22- className = "w-full bg-stone-900 p-2 pt -2.5"
23+ className = "w-full bg-stone-900 px-3 py -2.5 md:px-4 "
2324 style = { { height : `${ TOP_NAV_HEIGHT } px` } }
2425 >
25- < InlineStack align = "space-between" className = "pl-12 pr-2 ">
26- < InlineStack >
27- < Link href = "/" aria-label = "Home" variant = "block" >
26+ < InlineStack align = "space-between" wrap = "nowrap ">
27+ < InlineStack gap = "3" wrap = "nowrap" className = "min-w-0 flex-1" >
28+ < Link href = "/" aria-label = "Home" variant = "block" className = "shrink-0" >
2829 < img
2930 src = { logo }
3031 alt = "logo"
@@ -33,20 +34,20 @@ const AppMenu = () => {
3334 </ Link >
3435
3536 { title && (
36- < CopyText className = "text-white text-md font-bold truncate max-w-lg ml-22 " >
37+ < CopyText className = "text-white text-md font-bold truncate max-w-32 sm:max-w-48 md:max-w-64 lg:max-w-md " >
3738 { title }
3839 </ CopyText >
3940 ) }
4041 </ InlineStack >
4142
42- < InlineStack >
43- < InlineStack gap = "4 " className = "mr-42 " >
43+ < InlineStack gap = "2" wrap = "nowrap" className = "shrink-0" >
44+ < InlineStack gap = "2 " className = "md:flex" wrap = "nowrap ">
4445 < CloneRunButton componentSpec = { componentSpec } />
4546 < ImportPipeline />
4647 < NewPipelineButton />
4748 </ InlineStack >
4849
49- < InlineStack gap = "2" >
50+ < InlineStack gap = "2" wrap = "nowrap" >
5051 < BackendStatus />
5152 < PersonalPreferences />
5253 { requiresAuthorization && < TopBarAuthentication /> }
You can’t perform that action at this time.
0 commit comments