style: cluster creation modal

This commit is contained in:
jialin
2026-01-06 17:21:32 +08:00
parent 0f7a475ec9
commit d51f00d35d
18 changed files with 224 additions and 98 deletions
@@ -29,7 +29,7 @@ const Title = styled.span`
display: flex;
gap: 8px;
align-items: center;
font-weight: 700;
font-weight: 500;
font-size: 14px;
margin-bottom: 16px;
.icon {
@@ -100,6 +100,9 @@ const ProviderCatalog: React.FC<ProviderCatalogProps> = ({
}, [dataList]);
const renderTitle = (item: any) => {
if (item.hiddenTitle) {
return <>{item.extra && <span className="extra">{item.extra}</span>}</>;
}
return (
<Header>
<span className="title">
@@ -110,6 +113,7 @@ const ProviderCatalog: React.FC<ProviderCatalogProps> = ({
{intl.formatMessage({ id: item.description })}
</span>
)}
{item.extra && <span className="extra">{item.extra}</span>}
</Header>
);
};