Keldos commited on
Commit
7c42784
·
1 Parent(s): 23d295b

fix: 修复气泡宽度问题

Browse files
Files changed (1) hide show
  1. web_assets/stylesheet/chatbot.css +7 -1
web_assets/stylesheet/chatbot.css CHANGED
@@ -92,6 +92,9 @@ hr.append-display {
92
  width: auto !important;
93
  border-bottom-right-radius: 0 !important;
94
  }
 
 
 
95
  .message-row.user-row {
96
  justify-content: flex-end;
97
  }
@@ -115,7 +118,10 @@ hr.append-display {
115
  max-height: calc(100vh - 140px - var(--line-sm)*1rem - 2*var(--block-label-margin) );
116
  }
117
  [data-testid = "bot"] {
118
- max-width: calc(98% - 20px) !important;
 
 
 
119
  }
120
  .chatbot-avatar {
121
  display: none;
 
92
  width: auto !important;
93
  border-bottom-right-radius: 0 !important;
94
  }
95
+ .message-row {
96
+ align-self: unset !important;
97
+ }
98
  .message-row.user-row {
99
  justify-content: flex-end;
100
  }
 
118
  max-height: calc(100vh - 140px - var(--line-sm)*1rem - 2*var(--block-label-margin) );
119
  }
120
  [data-testid = "bot"] {
121
+ max-width: calc(100% - 84px) !important;
122
+ }
123
+ [data-testid = "user"] {
124
+ max-width: calc(100% - 84px) !important;
125
  }
126
  .chatbot-avatar {
127
  display: none;