Skip to content

Commit d435ad4

Browse files
committed
chore(styling) remove margin top on keywords, no need for it
1 parent 20ba871 commit d435ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/codeKeywords/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const KeywordSpan = styled(motion.span, {
162162
grid-row: 1;
163163
grid-column: 1;
164164
display: inline-block;
165-
margin-top: ${p => (p.hasPreview ? '24px' : '0')};
165+
margin-top: 0;
166166
`;
167167

168168
export const KeywordSearchInput = styled('input')<{dark: boolean}>`

0 commit comments

Comments
 (0)