add right-padding to prompt textareas so that text does not go behind icons

This commit is contained in:
Mary Hipp 2024-03-06 08:50:47 -05:00 committed by Kent Keirsey
parent 2fd483dfc8
commit c4fe7e697b
4 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@ export const ParamNegativePrompt = memo(() => {
onKeyDown={onKeyDown}
fontSize="sm"
variant="darkFilled"
paddingRight={30}
/>
<PromptOverlayButtonWrapper>
<AddPromptTriggerButton isOpen={isOpen} onOpen={onOpen} />

View File

@ -54,6 +54,7 @@ export const ParamPositivePrompt = memo(() => {
minH={28}
onKeyDown={onKeyDown}
variant="darkFilled"
paddingRight={30}
/>
<PromptOverlayButtonWrapper>
<AddPromptTriggerButton isOpen={isOpen} onOpen={onOpen} />

View File

@ -41,6 +41,7 @@ export const ParamSDXLNegativeStylePrompt = memo(() => {
onKeyDown={onKeyDown}
fontSize="sm"
variant="darkFilled"
paddingRight={30}
/>
<PromptOverlayButtonWrapper>
<AddPromptTriggerButton isOpen={isOpen} onOpen={onOpen} />

View File

@ -38,6 +38,7 @@ export const ParamSDXLPositiveStylePrompt = memo(() => {
onKeyDown={onKeyDown}
fontSize="sm"
variant="darkFilled"
paddingRight={30}
/>
<PromptOverlayButtonWrapper>
<AddPromptTriggerButton isOpen={isOpen} onOpen={onOpen} />