mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Increase user chat message font. Vary border width for lifted card effect
This commit is contained in:
parent
46af60138c
commit
c6acbe0090
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ div.chatMessageWrapper p:not(:last-child) {
|
|||
}
|
||||
|
||||
div.khojfullHistory {
|
||||
border-width: 1px;
|
||||
border-width: 1px 2px 3px 4px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
|
|
|
@ -333,7 +333,7 @@ export default function ChatMessage(props: ChatMessageProps) {
|
|||
function chatMessageWrapperClasses(chatMessage: SingleChatMessage) {
|
||||
let classes = [styles.chatMessageWrapper, styles[chatMessage.by]];
|
||||
if (chatMessage.by === "you") {
|
||||
let fontClass = chatMessage.message.length > 100 ? "text-md" : "text-xl";
|
||||
let fontClass = chatMessage.message.length > 100 ? "text-md" : "text-3xl";
|
||||
classes.push(fontClass);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue