Skip to content

Commit c7ba673

Browse files
committed
also reduce font size of the certificate section on mobile so it doesn't wrap in the worst case scenario
1 parent 378140a commit c7ba673

File tree

1 file changed

+2
-0
lines changed
  • frontends/ol-components/src/components/LearningResourceExpanded

1 file changed

+2
-0
lines changed

frontends/ol-components/src/components/LearningResourceExpanded/InfoSection.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const PriceDisplay = styled.div({
9999

100100
const Certificate = styled.div({
101101
display: "flex",
102+
alignItems: "center",
102103
gap: "4px",
103104
borderRadius: "4px",
104105
padding: "4px 8px",
@@ -112,6 +113,7 @@ const Certificate = styled.div({
112113
},
113114
[theme.breakpoints.down("sm")]: {
114115
padding: "1px 2px",
116+
...theme.typography.subtitle4,
115117
},
116118
})
117119

0 commit comments

Comments
 (0)