Your Name commited on
Commit
01265c5
1 Parent(s): 4556559

微调theme

Browse files
Files changed (1) hide show
  1. theme.py +9 -9
theme.py CHANGED
@@ -107,20 +107,20 @@ advanced_css = """
107
  /* 对话气泡 */
108
  [class *= "message"] {
109
  border-radius: var(--radius-xl) !important;
110
- padding: var(--spacing-xl) !important;
111
- font-size: var(--text-md) !important;
112
- line-height: var(--line-md) !important;
113
- min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
114
- min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
115
  }
116
  [data-testid = "bot"] {
117
- max-width: 85%;
118
- width: auto !important;
119
  border-bottom-left-radius: 0 !important;
120
  }
121
  [data-testid = "user"] {
122
- max-width: 85%;
123
- width: auto !important;
124
  border-bottom-right-radius: 0 !important;
125
  }
126
  /* 行内代码 */
 
107
  /* 对话气泡 */
108
  [class *= "message"] {
109
  border-radius: var(--radius-xl) !important;
110
+ /* padding: var(--spacing-xl) !important; */
111
+ /* font-size: var(--text-md) !important; */
112
+ /* line-height: var(--line-md) !important; */
113
+ /* min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */
114
+ /* min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */
115
  }
116
  [data-testid = "bot"] {
117
+ max-width: 95%;
118
+ /* width: auto !important; */
119
  border-bottom-left-radius: 0 !important;
120
  }
121
  [data-testid = "user"] {
122
+ max-width: 100%;
123
+ /* width: auto !important; */
124
  border-bottom-right-radius: 0 !important;
125
  }
126
  /* 行内代码 */