mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-20 15:10:59 +08:00
fix: remove light background from MCP NpxUv install alerts (#11372)
- Remove 'banner' prop from Alert components in InstallNpxUv - Set SettingContainer background to 'inherit' in MCP settings - Fixes the light background color issue in NpxUv interface 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
62976f6fe0
commit
2df8bb58df
@ -109,7 +109,6 @@ const InstallNpxUv: FC<Props> = ({ mini = false }) => {
|
|||||||
<Container>
|
<Container>
|
||||||
<Alert
|
<Alert
|
||||||
type={isUvInstalled ? 'success' : 'warning'}
|
type={isUvInstalled ? 'success' : 'warning'}
|
||||||
banner
|
|
||||||
style={{ borderRadius: 'var(--list-item-border-radius)' }}
|
style={{ borderRadius: 'var(--list-item-border-radius)' }}
|
||||||
description={
|
description={
|
||||||
<VStack>
|
<VStack>
|
||||||
@ -140,7 +139,6 @@ const InstallNpxUv: FC<Props> = ({ mini = false }) => {
|
|||||||
/>
|
/>
|
||||||
<Alert
|
<Alert
|
||||||
type={isBunInstalled ? 'success' : 'warning'}
|
type={isBunInstalled ? 'success' : 'warning'}
|
||||||
banner
|
|
||||||
style={{ borderRadius: 'var(--list-item-border-radius)' }}
|
style={{ borderRadius: 'var(--list-item-border-radius)' }}
|
||||||
description={
|
description={
|
||||||
<VStack>
|
<VStack>
|
||||||
|
|||||||
@ -140,7 +140,7 @@ const MCPSettings: FC = () => {
|
|||||||
<Route
|
<Route
|
||||||
path="mcp-install"
|
path="mcp-install"
|
||||||
element={
|
element={
|
||||||
<SettingContainer theme={theme}>
|
<SettingContainer style={{ backgroundColor: 'inherit' }}>
|
||||||
<InstallNpxUv />
|
<InstallNpxUv />
|
||||||
</SettingContainer>
|
</SettingContainer>
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user