Skip to content

Commit 1272ddd

Browse files
committed
Decrease text size of test and generated tags
1 parent ca7ba89 commit 1272ddd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

extensions/ql-vscode/src/view/data-extensions-editor/MethodClassifications.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ const ClassificationsContainer = styled.div`
1313
gap: 0.5rem;
1414
`;
1515

16+
const ClassificationTag = styled(VSCodeTag)`
17+
font-size: 0.75em;
18+
`;
19+
1620
type Props = {
1721
externalApiUsage: ExternalApiUsage;
1822
};
@@ -38,8 +42,8 @@ export const MethodClassifications = ({ externalApiUsage }: Props) => {
3842

3943
return (
4044
<ClassificationsContainer>
41-
{inTest && <VSCodeTag>Test</VSCodeTag>}
42-
{inGenerated && <VSCodeTag>Generated</VSCodeTag>}
45+
{inTest && <ClassificationTag>Test</ClassificationTag>}
46+
{inGenerated && <ClassificationTag>Generated</ClassificationTag>}
4347
</ClassificationsContainer>
4448
);
4549
};

0 commit comments

Comments
 (0)