Skip to content

Commit 501a9b6

Browse files
committed
dbc.Button doesn't know colors
1 parent 3614028 commit 501a9b6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

enacts/wat_bal/layout_monit.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,12 @@ def controls_layout(
358358
Sentence(
359359
Number("kc_end", CONFIG["kc_v"][4], min=0, max=2, html_size=4),
360360
),
361-
dbc.Button(id="submit_kc", children='Submit', color="success"),
361+
dbc.Button(
362+
id="submit_kc",
363+
children='Submit',
364+
color="light",
365+
style={"color": "green", "border-color": "green"},
366+
),
362367
border_color="green",
363368
),
364369
Block(
@@ -407,7 +412,12 @@ def controls_layout(
407412
Sentence(
408413
Number("kc2_end", CONFIG["kc_v"][4], min=0, max=2, html_size=4),
409414
),
410-
dbc.Button(id="submit_kc2", children='Submit', color="primary"),
415+
dbc.Button(
416+
id="submit_kc2",
417+
children='Submit',
418+
color="light",
419+
style={"color": "blue", "border-color": "green"},
420+
),
411421
border_color="blue",
412422
),
413423
],

0 commit comments

Comments
 (0)