Skip to content

Commit b990c10

Browse files
committed
fix: MCP header text in dark mode
1 parent 56a7b66 commit b990c10

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/spaces/mcp/components/McpHeader.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { ControlPlaneType } from '../../../lib/api/types/crate/controlPlanes.ts';
2+
import { Text } from '@ui5/webcomponents-react';
23

34
import styles from './McpHeader.module.css';
45
import { formatDateAsTimeAgo } from '../../../utils/i18n/timeAgo.ts';
@@ -23,17 +24,17 @@ export function McpHeader({ mcp }: McpHeaderProps) {
2324
<div className={styles.container}>
2425
<div className={styles.grid}>
2526
<span className={styles.label}>{t('McpHeader.nameLabel')}</span>
26-
<span>{mcp.metadata.name}</span>
27+
<Text>{mcp.metadata.name}</Text>
2728

2829
<span className={styles.label}>{t('McpHeader.createdOnLabel')}</span>
29-
<span>
30+
<Text>
3031
{created} ({formatDateAsTimeAgo(mcp.metadata.creationTimestamp)})
31-
</span>
32+
</Text>
3233

3334
{createdBy ? (
3435
<>
3536
<span className={styles.label}>{t('McpHeader.createdByLabel')}</span>
36-
<span>{createdBy}</span>
37+
<Text>{createdBy}</Text>
3738
</>
3839
) : null}
3940
</div>

0 commit comments

Comments
 (0)