We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896bc29 commit d74542eCopy full SHA for d74542e
frontends/ol-components/src/components/LearningResourceExpanded/InfoSection.tsx
@@ -28,6 +28,13 @@ const SeparatorContainer = styled.span({
28
color: theme.custom.colors.silverGray,
29
})
30
31
+/*
32
+ * Pipe followed by zero-width space, ZWSP.
33
+ * By doing
34
+ * <ITEM><PIPE><ZWSP><ITEM><PIPE><ZWSP>...
35
+ * without whitespace between <ITEM> and <PIPE>, we allow line
36
+ * breaks after the pipe but not before it.
37
+ */
38
const Separator: React.FC = () => (
39
<SeparatorContainer>|​</SeparatorContainer>
40
)
0 commit comments