Skip to content

Commit 85ae9e1

Browse files
committed
Enhance Go/No-Go cell in LWA_dashboard notebook by adjusting indicator size and margins for better visual alignment.
1 parent deb43a6 commit 85ae9e1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

notebooks/LWA_dashboard.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,11 +581,12 @@
581581
" st = max(0, min(2, int(st)))\n",
582582
" color = ('danger', 'info', 'success')[st] # red (failure), light green (not recording), dark green (success)\n",
583583
" filled = st >= 1\n",
584+
" size = 24 # square side in pixels\n",
584585
" return pn.Column(\n",
585-
" pn.indicators.BooleanStatus(value=filled, color=color, width=22, height=22),\n",
586+
" pn.indicators.BooleanStatus(value=filled, color=color, width=size, height=size, margin=(0, 0)),\n",
586587
" pn.pane.Markdown(str(name)),\n",
587588
" width=cell_width,\n",
588-
" margin=(2, 4),\n",
589+
" margin=(0, 0),\n",
589590
" align='center',\n",
590591
" )\n",
591592
"\n",

0 commit comments

Comments
 (0)