Преглед изворни кода

fix: some dark theme display incorrect (#21055)

tags/1.5.0
非法操作 пре 4 месеци
родитељ
комит
6c0a91a64f
No account linked to committer's email address

+ 2
- 0
web/app/components/plugins/install-plugin/install-from-github/steps/selectPackage.tsx Прегледај датотеку

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'
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

+ 1
- 1
web/app/components/workflow/panel/env-panel/variable-modal.tsx Прегледај датотеку

<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…
Откажи
Сачувај