dev-yuje commited on
Commit
a0035ba
Β·
1 Parent(s): aedcd48

fix: align chatbot card widths, add round corners and increase font size by 3px

Browse files
Files changed (1) hide show
  1. src/utils/ui_templates.py +19 -14
src/utils/ui_templates.py CHANGED
@@ -238,23 +238,24 @@ div[data-testid="chatbot"], .chatbot-container, .chatbot {
238
  margin: 0 auto !important;
239
  }
240
 
241
- /* ── μ†Œκ°œκΈ€(Prose) μ›°μ»΄ λ³΄λ“œ (μœ„μͺ½ 절반) ── */
242
  .placeholder .prose {
243
  background: #f8fafc !important;
244
  border: 1px solid #e2e8f0 !important;
245
- border-bottom: none !important;
246
- border-radius: 12px 12px 0 0 !important;
247
- padding: 24px 24px 10px 24px !important;
248
- max-width: 800px !important;
249
  width: 100% !important;
250
  margin: 0 auto !important;
251
  display: block !important;
252
  position: relative !important;
253
  z-index: 2 !important;
 
254
  }
255
  .placeholder h3, [class*="placeholder"] h3 {
256
  color: #334155 !important;
257
  font-weight: 800 !important;
 
258
  margin-top: 0 !important;
259
  margin-bottom: 12px !important;
260
  }
@@ -264,12 +265,17 @@ div[data-testid="chatbot"], .chatbot-container, .chatbot {
264
  margin-bottom: 12px !important;
265
  }
266
  .placeholder .prose li {
267
- margin-bottom: 4px !important;
268
  color: #475569 !important;
269
- font-size: 14px !important;
270
- line-height: 1.5 !important;
 
 
 
 
271
  }
272
  .placeholder .prose p:last-child {
 
273
  font-weight: 700 !important;
274
  color: #4c1d95 !important;
275
  background: #f3e8ff !important;
@@ -279,19 +285,18 @@ div[data-testid="chatbot"], .chatbot-container, .chatbot {
279
  margin-bottom: 0 !important;
280
  }
281
 
282
- /* ── μ˜ˆμ‹œ 질문 μ»¨ν…Œμ΄λ„ˆ (μ•„λž˜μͺ½ 절반: λ³΄λ“œ 병합 μ™„λ£Œ) ── */
283
  [class*="examples"], .gr-samples-wrapper, .examples-container {
284
  display: grid !important;
285
  grid-template-columns: repeat(2, 1fr) !important;
286
  gap: 12px !important;
287
  width: 100% !important;
288
- max-width: 800px !important;
289
- margin: -32px auto 40px auto !important;
290
  background: #f8fafc !important;
291
  border: 1px solid #e2e8f0 !important;
292
- border-top: none !important;
293
- border-radius: 0 0 12px 12px !important;
294
- padding: 10px 24px 24px 24px !important;
295
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
296
  position: relative !important;
297
  z-index: 1 !important;
 
238
  margin: 0 auto !important;
239
  }
240
 
241
+ /* ── μ†Œκ°œκΈ€(Prose) μ›°μ»΄ λ³΄λ“œ (독립적인 프리미엄 λΌμš΄λ“œ μΉ΄λ“œ ꡬ쑰) ── */
242
  .placeholder .prose {
243
  background: #f8fafc !important;
244
  border: 1px solid #e2e8f0 !important;
245
+ border-radius: 12px !important;
246
+ padding: 24px !important;
247
+ max-width: 920px !important;
 
248
  width: 100% !important;
249
  margin: 0 auto !important;
250
  display: block !important;
251
  position: relative !important;
252
  z-index: 2 !important;
253
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
254
  }
255
  .placeholder h3, [class*="placeholder"] h3 {
256
  color: #334155 !important;
257
  font-weight: 800 !important;
258
+ font-size: 21px !important;
259
  margin-top: 0 !important;
260
  margin-bottom: 12px !important;
261
  }
 
265
  margin-bottom: 12px !important;
266
  }
267
  .placeholder .prose li {
268
+ margin-bottom: 6px !important;
269
  color: #475569 !important;
270
+ font-size: 17px !important;
271
+ line-height: 1.55 !important;
272
+ }
273
+ .placeholder .prose p {
274
+ font-size: 17px !important;
275
+ line-height: 1.55 !important;
276
  }
277
  .placeholder .prose p:last-child {
278
+ font-size: 17px !important;
279
  font-weight: 700 !important;
280
  color: #4c1d95 !important;
281
  background: #f3e8ff !important;
 
285
  margin-bottom: 0 !important;
286
  }
287
 
288
+ /* ── μ˜ˆμ‹œ 질문 μ»¨ν…Œμ΄λ„ˆ (μœ„μͺ½ λ³΄λ“œμ™€ 동일 λ„ˆλΉ„λ‘œ μ •λ ¬λœ 독립 λΌμš΄λ“œ μΉ΄λ“œ) ── */
289
  [class*="examples"], .gr-samples-wrapper, .examples-container {
290
  display: grid !important;
291
  grid-template-columns: repeat(2, 1fr) !important;
292
  gap: 12px !important;
293
  width: 100% !important;
294
+ max-width: 920px !important;
295
+ margin: 16px auto 24px auto !important;
296
  background: #f8fafc !important;
297
  border: 1px solid #e2e8f0 !important;
298
+ border-radius: 12px !important;
299
+ padding: 24px !important;
 
300
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
301
  position: relative !important;
302
  z-index: 1 !important;