mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): prompt shows thru prompt label text
This commit is contained in:
parent
e0d3927265
commit
29d6f48901
@ -53,10 +53,11 @@ export const ParamNegativePrompt = memo(() => {
|
||||
onKeyDown={onKeyDown}
|
||||
fontSize="sm"
|
||||
variant="darkFilled"
|
||||
minH={24}
|
||||
paddingRight={10}
|
||||
paddingLeft={3}
|
||||
paddingTop={7}
|
||||
minH={28}
|
||||
borderTopWidth={24} // This prevents the prompt from being hidden behind the header
|
||||
paddingInlineEnd={10}
|
||||
paddingInlineStart={3}
|
||||
paddingTop={0}
|
||||
paddingBottom={3}
|
||||
/>
|
||||
<PromptOverlayButtonWrapper>
|
||||
|
@ -68,9 +68,10 @@ export const ParamPositivePrompt = memo(() => {
|
||||
minH={40}
|
||||
onKeyDown={onKeyDown}
|
||||
variant="darkFilled"
|
||||
paddingRight={10}
|
||||
paddingLeft={3}
|
||||
paddingTop={7}
|
||||
borderTopWidth={24} // This prevents the prompt from being hidden behind the header
|
||||
paddingInlineEnd={10}
|
||||
paddingInlineStart={3}
|
||||
paddingTop={0}
|
||||
paddingBottom={3}
|
||||
/>
|
||||
<PromptOverlayButtonWrapper>
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { FormLabel } from '@invoke-ai/ui-library';
|
||||
import { Text } from '@invoke-ai/ui-library';
|
||||
|
||||
export const PromptLabel = ({ label }: { label: string }) => {
|
||||
return (
|
||||
<FormLabel color="base.450" fontSize="xs" pos="absolute" top={2} left={3}>
|
||||
<Text variant="subtext" fontWeight="semibold" pos="absolute" top={1} left={2}>
|
||||
{label}
|
||||
</FormLabel>
|
||||
</Text>
|
||||
);
|
||||
};
|
||||
|
@ -42,9 +42,10 @@ export const ParamSDXLNegativeStylePrompt = memo(() => {
|
||||
fontSize="sm"
|
||||
variant="darkFilled"
|
||||
minH={24}
|
||||
paddingRight={10}
|
||||
paddingLeft={3}
|
||||
paddingTop={7}
|
||||
borderTopWidth={24} // This prevents the prompt from being hidden behind the header
|
||||
paddingInlineEnd={10}
|
||||
paddingInlineStart={3}
|
||||
paddingTop={0}
|
||||
paddingBottom={3}
|
||||
/>
|
||||
<PromptOverlayButtonWrapper>
|
||||
|
@ -39,9 +39,10 @@ export const ParamSDXLPositiveStylePrompt = memo(() => {
|
||||
fontSize="sm"
|
||||
variant="darkFilled"
|
||||
minH={24}
|
||||
paddingRight={10}
|
||||
paddingLeft={3}
|
||||
paddingTop={7}
|
||||
borderTopWidth={24} // This prevents the prompt from being hidden behind the header
|
||||
paddingInlineEnd={10}
|
||||
paddingInlineStart={3}
|
||||
paddingTop={0}
|
||||
paddingBottom={3}
|
||||
/>
|
||||
<PromptOverlayButtonWrapper>
|
||||
|
Loading…
Reference in New Issue
Block a user