mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): Fix site header on really small screens
This commit is contained in:
@ -20,12 +20,18 @@ const SiteHeader = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid
|
<Grid
|
||||||
gridTemplateColumns="auto max-content"
|
gridTemplateColumns={{ base: 'auto', sm: 'auto max-content' }}
|
||||||
paddingRight={{ base: 10, xl: 0 }}
|
paddingRight={{ base: 10, xl: 0 }}
|
||||||
|
gap={2}
|
||||||
>
|
>
|
||||||
<InvokeAILogoComponent />
|
<Flex justifyContent={{ base: 'center', sm: 'start' }}>
|
||||||
|
<InvokeAILogoComponent />
|
||||||
<Flex alignItems="center" gap={2}>
|
</Flex>
|
||||||
|
<Flex
|
||||||
|
alignItems="center"
|
||||||
|
gap={2}
|
||||||
|
justifyContent={{ base: 'center', sm: 'start' }}
|
||||||
|
>
|
||||||
<StatusIndicator />
|
<StatusIndicator />
|
||||||
|
|
||||||
<ModelSelect />
|
<ModelSelect />
|
||||||
@ -48,7 +54,7 @@ const SiteHeader = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
position="absolute"
|
position="absolute"
|
||||||
right={6}
|
right={6}
|
||||||
top={16}
|
top={{ base: 28, sm: 16 }}
|
||||||
backgroundColor="base.800"
|
backgroundColor="base.800"
|
||||||
padding={4}
|
padding={4}
|
||||||
borderRadius={4}
|
borderRadius={4}
|
||||||
|
Reference in New Issue
Block a user