Skip to content

Commit 47c0e7e

Browse files
committed
Fix css
1 parent 1bdd4b6 commit 47c0e7e

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

services/web/src/components/bot/chatbot.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,40 @@ input[type="password"]:focus {
166166
input[type="password"]::placeholder {
167167
color: #a3a3a3;
168168
font-style: italic;
169+
}
170+
171+
/* Smaller markdown headers in chat messages */
172+
.rcb-bot-message h1,
173+
.rcb-bot-message h2,
174+
.rcb-bot-message h3,
175+
.rcb-bot-message h4,
176+
.rcb-bot-message h5,
177+
.rcb-bot-message h6 {
178+
font-weight: 600 !important;
179+
margin: 0.75em 0 0.25em 0 !important;
180+
line-height: 1.3 !important;
181+
}
182+
183+
.rcb-bot-message h1 {
184+
font-size: 1.2em !important;
185+
}
186+
187+
.rcb-bot-message h2 {
188+
font-size: 1.15em !important;
189+
}
190+
191+
.rcb-bot-message h3 {
192+
font-size: 1.1em !important;
193+
}
194+
195+
.rcb-bot-message h4 {
196+
font-size: 1.05em !important;
197+
}
198+
199+
.rcb-bot-message h5 {
200+
font-size: 1.025em !important;
201+
}
202+
203+
.rcb-bot-message h6 {
204+
font-size: 1em !important;
169205
}

0 commit comments

Comments
 (0)