fix: some dark theme display incorrect (#21055)
This commit is contained in:
parent
df6451076b
commit
6c0a91a64f
2 changed files with 3 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ const SelectPackage: React.FC<SelectPackageProps> = ({
|
||||||
installedValue={updatePayload?.originalPackageInfo.version}
|
installedValue={updatePayload?.originalPackageInfo.version}
|
||||||
placeholder={t(`${i18nPrefix}.selectVersionPlaceholder`) || ''}
|
placeholder={t(`${i18nPrefix}.selectVersionPlaceholder`) || ''}
|
||||||
popupClassName='w-[512px] z-[1001]'
|
popupClassName='w-[512px] z-[1001]'
|
||||||
|
triggerClassName='text-components-input-text-filled'
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
htmlFor='package'
|
htmlFor='package'
|
||||||
|
|
@ -97,6 +98,7 @@ const SelectPackage: React.FC<SelectPackageProps> = ({
|
||||||
readonly={!selectedVersion}
|
readonly={!selectedVersion}
|
||||||
placeholder={t(`${i18nPrefix}.selectPackagePlaceholder`) || ''}
|
placeholder={t(`${i18nPrefix}.selectPackagePlaceholder`) || ''}
|
||||||
popupClassName='w-[512px] z-[1001]'
|
popupClassName='w-[512px] z-[1001]'
|
||||||
|
triggerClassName='text-components-input-text-filled'
|
||||||
/>
|
/>
|
||||||
<div className='mt-4 flex items-center justify-end gap-2 self-stretch'>
|
<div className='mt-4 flex items-center justify-end gap-2 self-stretch'>
|
||||||
{!isEdit
|
{!isEdit
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ const VariableModal = ({
|
||||||
<div className='flex'>
|
<div className='flex'>
|
||||||
{
|
{
|
||||||
type !== 'number' ? <textarea
|
type !== 'number' ? <textarea
|
||||||
className='system-sm-regular placeholder:system-sm-regular block h-20 w-full resize-none appearance-none rounded-lg border border-transparent bg-components-input-bg-normal p-2 caret-primary-600 outline-none placeholder:text-components-input-text-placeholder hover:border-components-input-border-hover hover:bg-components-input-bg-hover focus:border-components-input-border-active focus:bg-components-input-bg-active focus:shadow-xs'
|
className='system-sm-regular placeholder:system-sm-regular block h-20 w-full resize-none appearance-none rounded-lg border border-transparent bg-components-input-bg-normal p-2 text-components-input-text-filled caret-primary-600 outline-none placeholder:text-components-input-text-placeholder hover:border-components-input-border-hover hover:bg-components-input-bg-hover focus:border-components-input-border-active focus:bg-components-input-bg-active focus:shadow-xs'
|
||||||
value={value}
|
value={value}
|
||||||
placeholder={t('workflow.env.modal.valuePlaceholder') || ''}
|
placeholder={t('workflow.env.modal.valuePlaceholder') || ''}
|
||||||
onChange={e => setValue(e.target.value)}
|
onChange={e => setValue(e.target.value)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue