fix(frontend): unify radio button theme and disabled selection
- Add global t-radio-button outline styles in theme.css (brand fill when checked). - Align ModelEditor, share KB, datasource, agent/MCP settings with t-radio-button. - Remove redundant :deep overrides in AgentEditorModal, KB editor, FAQEntryManager, etc. - Use brand disabled tone for disabled+checked radio buttons so selection stays visible.
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
|
||||
<t-form-item :label="t('mcpServiceDialog.transportType')" name="transport_type">
|
||||
<t-radio-group v-model="formData.transport_type">
|
||||
<t-radio value="sse">{{ t('mcpServiceDialog.transport.sse') }}</t-radio>
|
||||
<t-radio value="http-streamable">{{ t('mcpServiceDialog.transport.httpStreamable') }}</t-radio>
|
||||
<t-radio-button value="sse">{{ t('mcpServiceDialog.transport.sse') }}</t-radio-button>
|
||||
<t-radio-button value="http-streamable">{{ t('mcpServiceDialog.transport.httpStreamable') }}</t-radio-button>
|
||||
<!-- Stdio transport is disabled for security reasons -->
|
||||
</t-radio-group>
|
||||
</t-form-item>
|
||||
|
||||
Reference in New Issue
Block a user