Skip to content

Commit 7a7faf6

Browse files
committed
Add DescriptionSubtitle Component
The Subtitle Component is not a list item. Lighthouse throws an error if there is another item in a list. This adds a new component that solves the issue.
1 parent 0e37bed commit 7a7faf6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/styles/main.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,14 @@ export const DescriptionText = styled.li`
129129
margin-top: 3px;
130130
}
131131
`;
132+
133+
export const DescriptionSubtitle = styled.li`
134+
color: ${(props) => props.theme.subtitleColor};
135+
font-size: 14px;
136+
font-style: italic;
137+
font-weight: 400;
138+
139+
&:not(:first-of-type) {
140+
margin-top: 10px;
141+
}
142+
`;

0 commit comments

Comments
 (0)