mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 04:36:31 +08:00
fix(wbe): style of switch button
This commit is contained in:
parent
b0478f4df7
commit
678327e994
@ -196,9 +196,9 @@ export const PublisherSummarySection = ({
|
||||
</Button>
|
||||
{workflowTypeSwitchConfig && (
|
||||
<ActionTooltip disabled={workflowTypeSwitchDisabled} tooltip={workflowTypeSwitchDisabledReason}>
|
||||
<button
|
||||
type="button"
|
||||
className="mt-1 flex h-8 w-full items-center justify-center gap-0.5 rounded-lg px-3 py-2 system-sm-medium text-text-tertiary hover:bg-state-base-hover disabled:cursor-not-allowed disabled:opacity-50"
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="mt-1 w-full gap-0.5 px-3 text-text-tertiary"
|
||||
onClick={() => void onWorkflowTypeSwitch()}
|
||||
disabled={workflowTypeSwitchDisabled}
|
||||
>
|
||||
@ -232,7 +232,7 @@ export const PublisherSummarySection = ({
|
||||
{t(workflowTypeSwitchConfig.tipKey, { ns: 'workflow' })}
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
</button>
|
||||
</Button>
|
||||
</ActionTooltip>
|
||||
)}
|
||||
{startNodeLimitExceeded && (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user