mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Improve vertical alignment of lists in chat messages on web app
- Make train of thought icons to be top aligned, next to the their intermediate step heading - Add margin bottom to ordered, unordered lists in chat message, similar to how it is already added for paragraphs
This commit is contained in:
@@ -11,6 +11,9 @@ div.chatMessageWrapper {
|
|||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
max-width: 80vw;
|
max-width: 80vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.chatMessageWrapper ol,
|
||||||
|
div.chatMessageWrapper ul,
|
||||||
div.chatMessageWrapper p:not(:last-child) {
|
div.chatMessageWrapper p:not(:last-child) {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
@@ -131,6 +134,12 @@ div.trainOfThought.primary p {
|
|||||||
div.trainOfThoughtElement {
|
div.trainOfThoughtElement {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
|
align-items: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.trainOfThoughtElement ol,
|
||||||
|
div.trainOfThoughtElement ul {
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user