We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d23cb6 commit 352731cCopy full SHA for 352731c
1 file changed
client/src/styles/ChatMessage.styles.ts
@@ -46,7 +46,7 @@ export const useStyles = makeStyles({
46
borderRadius: tokens.borderRadiusMedium,
47
whiteSpace: "pre-wrap",
48
wordBreak: "break-word",
49
- lineHeight: "1.6",
+ lineHeight: "1.3",
50
fontSize: tokens.fontSizeBase300,
51
},
52
userBubble: {
@@ -79,19 +79,24 @@ export const useStyles = makeStyles({
79
80
markdown: {
81
"& p": {
82
- margin: "0 0 4px 0",
+ margin: "0 0 8px 0",
83
"&:last-child": {
84
marginBottom: 0,
85
86
87
"& ul, & ol": {
88
margin: "4px 0",
89
paddingLeft: "20px",
90
+ "& li + li": {
91
+ marginTop: "2px",
92
+ },
93
94
"& li": {
- marginBottom: "2px",
95
+ marginBottom: 0,
96
+ lineHeight: "1.4",
97
98
margin: 0,
99
+ display: "inline",
100
101
102
"& code": {
0 commit comments