-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from bettersg/110_localstorage_ui_hotfix
110 localstorage UI hotfix
- Loading branch information
Showing
11 changed files
with
87 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,56 @@ | ||
.chatList { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
padding: 16px; | ||
overflow: hidden auto; | ||
max-height: 68vh; | ||
padding: 0.5rem; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
padding: 16px; | ||
overflow: hidden auto; | ||
max-height: 68vh; | ||
padding: 0.5rem; | ||
} | ||
|
||
.messageContainer { | ||
display: flex; | ||
align-items: flex-start; | ||
display: flex; | ||
align-items: flex-start; | ||
} | ||
|
||
.botContainer { | ||
justify-content: flex-start; | ||
justify-content: flex-start; | ||
} | ||
|
||
.userContainer { | ||
justify-content: flex-end; | ||
justify-content: flex-end; | ||
} | ||
|
||
.avatar { | ||
margin-right: 8px; | ||
margin-right: 8px; | ||
} | ||
|
||
.card { | ||
max-width: 80%; | ||
padding: 3px; | ||
border-radius: 16px; | ||
font-size: 0.875rem; | ||
line-height: 1.25rem; | ||
word-wrap: break-word; | ||
max-width: 80%; | ||
padding: 3px; | ||
border-radius: 16px; | ||
font-size: 0.875rem; | ||
line-height: 1.25rem; | ||
word-wrap: break-word; | ||
} | ||
|
||
.cardBody { | ||
padding: 4px 8px; | ||
padding: 4px 8px; | ||
} | ||
|
||
.bot { | ||
background-color: #f1f5f9; | ||
align-self: flex-start; | ||
background-color: #f1f5f9; | ||
align-self: flex-start; | ||
} | ||
|
||
.user { | ||
background-color: #e6f1fe; | ||
color: #006FEE; | ||
align-self: flex-end; | ||
background-color: #e6f1fe; | ||
color: #006fee; | ||
align-self: flex-end; | ||
} | ||
|
||
@media (max-width: 640px) { | ||
.chatList { | ||
max-height: 65vh; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,9 @@ | |
padding: 0.8rem; | ||
overflow-y: auto; | ||
} | ||
|
||
@media (max-width: 640px) { | ||
.mainChat { | ||
padding: 0.5rem 2rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,42 @@ | ||
.userQuery { | ||
background: #E6F1FE; | ||
margin: 0.5rem; | ||
font-size: 0.875rem; | ||
background: #e6f1fe; | ||
margin: 0.5rem; | ||
font-size: 0.875rem; | ||
} | ||
|
||
.card { | ||
width: 95%; | ||
padding: 3px; | ||
border-radius: 16px; | ||
line-height: 1.25rem; | ||
width: 95%; | ||
padding: 3px; | ||
border-radius: 16px; | ||
line-height: 1.25rem; | ||
} | ||
|
||
@media (max-width: 640px) { | ||
.card { | ||
width: 100%; | ||
} | ||
.userQuery { | ||
margin: 0.5rem 0rem; | ||
} | ||
} | ||
|
||
.cardHeader { | ||
padding: 4px 8px; | ||
padding: 4px 8px; | ||
} | ||
|
||
.cardBody { | ||
padding: 4px 8px; | ||
padding: 4px 8px; | ||
} | ||
|
||
.cardFooter { | ||
padding: 0.25rem; | ||
justify-content: right; | ||
padding: 0.25rem; | ||
justify-content: right; | ||
} | ||
|
||
.resetButton { | ||
background: transparent; | ||
border: none; | ||
box-shadow: none; | ||
width: 1.5em; | ||
height: 1.5em; | ||
background: transparent; | ||
border: none; | ||
box-shadow: none; | ||
width: 1.5em; | ||
height: 1.5em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters