Skip to content

Commit 896bc29

Browse files
committed
wrap price / certificate display on mobile
1 parent ef78d8a commit 896bc29

File tree

1 file changed

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

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,13 @@ const InfoValue = styled.div({
8181

8282
const PriceDisplay = styled.div({
8383
display: "flex",
84-
flexDirection: "column",
85-
flexWrap: "wrap",
8684
alignItems: "center",
8785
gap: "8px",
86+
[theme.breakpoints.down("sm")]: {
87+
flexDirection: "column",
88+
flexWrap: "wrap",
89+
alignItems: "flex-start",
90+
},
8891
})
8992

9093
const Certificate = styled.div({

0 commit comments

Comments
 (0)