uumerrr684 commited on
Commit
8995b4b
·
verified ·
1 Parent(s): 22adf65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -21
app.py CHANGED
@@ -26,38 +26,19 @@ st.markdown("""
26
  header {visibility: hidden;}
27
  .stDeployButton {display: none;}
28
 
29
- /* User messages (odd positions) on the right */
30
  .stChatMessage:nth-child(odd) {
31
  flex-direction: row-reverse !important;
32
  margin-left: 20% !important;
33
  margin-right: 0% !important;
34
  }
35
 
36
- /* AI messages (even positions) on the left */
37
  .stChatMessage:nth-child(even) {
38
  margin-right: 20% !important;
39
  margin-left: 0% !important;
40
  }
41
 
42
- /* User message styling (blue, right side) */
43
- .stChatMessage:nth-child(odd) .stMarkdown {
44
- background-color: #007bff !important;
45
- color: white !important;
46
- border-radius: 18px 18px 4px 18px !important;
47
- padding: 12px 16px !important;
48
- margin-left: 12px !important;
49
- }
50
-
51
- /* AI message styling (gray, left side) */
52
- .stChatMessage:nth-child(even) .stMarkdown {
53
- background-color: #f8f9fa !important;
54
- color: #2d3748 !important;
55
- border-radius: 18px 18px 18px 4px !important;
56
- padding: 12px 16px !important;
57
- margin-right: 12px !important;
58
- border: 1px solid #e2e8f0 !important;
59
- }
60
-
61
  /* Hide chat avatars */
62
  .stChatMessage img {
63
  display: none !important;
 
26
  header {visibility: hidden;}
27
  .stDeployButton {display: none;}
28
 
29
+ /* User messages on the right - keep original colors */
30
  .stChatMessage:nth-child(odd) {
31
  flex-direction: row-reverse !important;
32
  margin-left: 20% !important;
33
  margin-right: 0% !important;
34
  }
35
 
36
+ /* AI messages on the left - keep original colors */
37
  .stChatMessage:nth-child(even) {
38
  margin-right: 20% !important;
39
  margin-left: 0% !important;
40
  }
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  /* Hide chat avatars */
43
  .stChatMessage img {
44
  display: none !important;