mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix cut off badge on queue actions menu
This commit is contained in:
parent
799ef0e7c1
commit
e9bce6e1c3
@ -75,7 +75,7 @@ const App = ({ config = DEFAULT_CONFIG, selectedImage }: Props) => {
|
||||
>
|
||||
<Grid w="100vw" h="100vh" position="relative" overflow="hidden">
|
||||
<ImageUploader>
|
||||
<Grid gap={4} p={4} gridAutoRows="min-content auto" w="full" h="full">
|
||||
<Grid p={4} gridAutoRows="min-content auto" w="full" h="full">
|
||||
{headerComponent || <SiteHeader />}
|
||||
<Flex gap={4} w="full" h="full">
|
||||
<InvokeTabs />
|
||||
|
@ -232,7 +232,7 @@ const InvokeTabs = () => {
|
||||
gap={4}
|
||||
isLazy
|
||||
>
|
||||
<InvTabList gap={4} flexDir="column">
|
||||
<InvTabList gap={4} pt={4} flexDir="column">
|
||||
{tabs}
|
||||
<Spacer />
|
||||
</InvTabList>
|
||||
@ -255,6 +255,7 @@ const InvokeTabs = () => {
|
||||
onCollapse={onCollapseOptionsPanel}
|
||||
onExpand={onExpandOptionsPanel}
|
||||
collapsible
|
||||
style={paddingTop4}
|
||||
>
|
||||
{activeTabName === 'nodes' ? (
|
||||
<NodeEditorPanelGroup />
|
||||
@ -269,7 +270,7 @@ const InvokeTabs = () => {
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<Panel id="main-panel" order={1} minSize={20}>
|
||||
<Panel id="main-panel" order={1} minSize={20} style={paddingTop4}>
|
||||
<InvTabPanels w="full" h="full">
|
||||
{tabPanels}
|
||||
</InvTabPanels>
|
||||
@ -290,6 +291,7 @@ const InvokeTabs = () => {
|
||||
onCollapse={onCollapseGalleryPanel}
|
||||
onExpand={onExpandGalleryPanel}
|
||||
collapsible
|
||||
style={paddingTop4}
|
||||
>
|
||||
<ImageGalleryContent />
|
||||
</Panel>
|
||||
@ -301,3 +303,5 @@ const InvokeTabs = () => {
|
||||
};
|
||||
|
||||
export default memo(InvokeTabs);
|
||||
|
||||
const paddingTop4: CSSProperties = { paddingTop: '8px' };
|
||||
|
Loading…
Reference in New Issue
Block a user