Skip to content

Commit adbfb5f

Browse files
ahtesham-quraishAhtesham Quraish
andauthored
fix: modify the style of blockquote node as per design (#2820)
* fix: add style for blockquote as per design --------- Co-authored-by: Ahtesham Quraish <ahtesham.quraish@192.168.10.11>
1 parent 75d694d commit adbfb5f

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

frontends/ol-components/src/components/TiptapEditor/TiptapEditor.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,17 @@ const StyledEditorContent = styled(EditorContent, {
126126
borderRadius: "8px",
127127
marginBottom: "40px",
128128
borderLeft: `2px solid ${theme.custom.colors.red}`,
129-
":before": {
130-
display: "none",
129+
"::before": {
130+
content: '"“"', // opening inverted comma
131+
position: "absolute",
132+
left: "17px",
133+
fontSize: "64px",
134+
lineHeight: 1,
135+
fontWeight: theme.typography.fontWeightRegular,
136+
top: "-15px",
137+
color: theme.custom.colors.red,
138+
fontFamily: theme.typography.fontFamily,
139+
background: "none",
131140
},
132141
p: {
133142
position: "relative",

0 commit comments

Comments
 (0)