mirror of https://github.com/langgenius/dify.git
fix: align width and use rounded xl
This commit is contained in:
parent
814b0e1fe8
commit
26e7677595
|
|
@ -349,6 +349,7 @@ const PortalSelect: FC<PortalSelectProps> = ({
|
|||
onOpenChange={setOpen}
|
||||
placement='bottom-start'
|
||||
offset={4}
|
||||
triggerPopupSameWidth={true}
|
||||
>
|
||||
<PortalToFollowElemTrigger onClick={() => !readonly && setOpen(v => !v)} className='w-full'>
|
||||
{renderTrigger
|
||||
|
|
@ -376,7 +377,7 @@ const PortalSelect: FC<PortalSelectProps> = ({
|
|||
</PortalToFollowElemTrigger>
|
||||
<PortalToFollowElemContent className={`z-20 ${popupClassName}`}>
|
||||
<div
|
||||
className={classNames('max-h-60 overflow-auto rounded-md border-[0.5px] border-components-panel-border bg-components-panel-bg px-1 py-1 text-base shadow-lg focus:outline-none sm:text-sm', popupInnerClassName)}
|
||||
className={classNames('max-h-60 overflow-auto rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg px-1 py-1 text-base shadow-lg focus:outline-none sm:text-sm', popupInnerClassName)}
|
||||
>
|
||||
{items.map((item: Item) => (
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -188,7 +188,6 @@ export const CreateSubscriptionButton = ({ buttonType = CreateButtonType.FULL_BU
|
|||
}}
|
||||
triggerClassName='h-8'
|
||||
popupClassName={cn('z-[1000]')}
|
||||
popupInnerClassName={cn('w-[354px]')}
|
||||
value={methodType}
|
||||
items={allOptions.filter(option => option.show)}
|
||||
onSelect={item => onChooseCreateType(item.value as any)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue