Fix chips css

This commit is contained in:
Lorexia
2023-09-19 16:12:01 +02:00
parent 9ca55bd046
commit d1bd782fb2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ export const NPMLink: FC<{ packageName: string; kind: 'esm' | 'cjs'; preBundled?
sx={{ whiteSpace: 'nowrap', textDecoration: 'none' }}
>
{packageName} <Chip label={kind === 'cjs' ? 'CommonJS' : 'ESM'} size="small" />{' '}
{preBundled && <Chip label="pre-bundled" size="small" color="info" />}
{preBundled && <Chip label="pre-bundled" size="small" color="info" className="chipContained" />}
</Link>
);
+1 -1
View File
@@ -68,7 +68,7 @@ div.nextra-code-block > div {
}
/* Chips*/
.css-sv2u65-MuiChip-root {
.chipContained{
background-color: var(--colorPrimary) !important;
}