Skip to content

Commit

Permalink
Adjust the left alignment for text when bulleted or numbered (#24)
Browse files Browse the repository at this point in the history
## What
This PR fixes the message indentation bug

## Why
For better user experience

## How
- Remove `st-chat` library
- Use `st.warning` and `st.info` for user and bot message

## Demo

| Before | <img width="718" alt="Screenshot 2023-05-19 at 11 37 53"
src="https://github.com/CoderPush/chatlit/assets/62679553/d5a971ba-eace-462d-ae4f-e0b5aa2f06ef">
|
|--------|-----------------------------------------|
| After | <img width="1272" alt="Screenshot 2023-06-19 at 1 12 55 PM"
src="https://github.com/CoderPush/chatlit/assets/62679553/71be0dc5-f023-4a40-a131-2a250d166598">
|
  • Loading branch information
dauinh authored Jun 19, 2023
1 parent f873af3 commit b6b09af
Show file tree
Hide file tree
Showing 4 changed files with 275 additions and 288 deletions.
1 change: 0 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ python-dotenv = "*"
watchdog = "*"
google-cloud-firestore = "*"
firebase-admin = "*"
streamlit-chat = {editable = true, git = "https://github.com/harley/st-chat.git"}
streamlit-oauth = "*"
promptlayer = "*"

Expand Down
Loading

0 comments on commit b6b09af

Please sign in to comment.