BVendeville commited on
Commit
06cbddf
·
verified ·
1 Parent(s): 97b702e

annotation app code-a6dbcef44972+git-f87f4b3-dirty

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -40,6 +40,11 @@ CSS = """
40
  .ann-card-source .ann-text { max-height: 45vh; }
41
  .ann-vertical { gap: 2rem !important; } /* clear space between stacked cards */
42
  .ann-vertical .ann-card:not(.ann-card-source) .ann-text { max-height: none; } /* stacked texts grow to full length */
 
 
 
 
 
43
  .ann-error { color: var(--error-text-color, #b91c1c); font-weight: 600; }
44
  """
45
  GRADIO_6 = int(gr.__version__.split(".")[0]) >= 6
 
40
  .ann-card-source .ann-text { max-height: 45vh; }
41
  .ann-vertical { gap: 2rem !important; } /* clear space between stacked cards */
42
  .ann-vertical .ann-card:not(.ann-card-source) .ann-text { max-height: none; } /* stacked texts grow to full length */
43
+ /* instructions panel: real titles, not body-size bold lines */
44
+ #guide h3 { font-size: 1.45rem !important; font-weight: 700; margin: 1.4rem 0 0.5rem;
45
+ padding-bottom: 0.2rem; border-bottom: 1px solid var(--border-color-primary); }
46
+ #guide h4 { font-size: 1.15rem !important; font-weight: 700; margin: 1.1rem 0 0.35rem; }
47
+ #guide p, #guide li { line-height: 1.6; }
48
  .ann-error { color: var(--error-text-color, #b91c1c); font-weight: 600; }
49
  """
50
  GRADIO_6 = int(gr.__version__.split(".")[0]) >= 6