Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- dashboard.py +2 -3
dashboard.py
CHANGED
@@ -223,8 +223,7 @@ button4 = pn.widgets.Button(name="Ontology Coverage", button_type="warning", ico
|
|
223 |
#button5 = pn.widgets.Button(name="Causal Relation Chord Diagrams", button_type="warning", icon="chart-dots-filled", styles={"width": "100%"})
|
224 |
|
225 |
markdown_button_style = """
|
226 |
-
<div style="
|
227 |
-
background-color: #f0ad4e; /* Matches 'warning' button type */
|
228 |
color: white;
|
229 |
font-weight: bold;
|
230 |
padding: 8px 12px;
|
@@ -237,7 +236,7 @@ Causal Relation Chord Diagrams
|
|
237 |
"""
|
238 |
#button5 = pn.pane.Markdown(markdown_button_style, width_policy="max")
|
239 |
|
240 |
-
button5 = pn.pane.Markdown("<div style='background-color:#f0f0f0; padding:8px
|
241 |
|
242 |
|
243 |
# Define child buttons
|
|
|
223 |
#button5 = pn.widgets.Button(name="Causal Relation Chord Diagrams", button_type="warning", icon="chart-dots-filled", styles={"width": "100%"})
|
224 |
|
225 |
markdown_button_style = """
|
226 |
+
<div style="background-color: #f0f0f0; /* Matches 'warning' button type */
|
|
|
227 |
color: white;
|
228 |
font-weight: bold;
|
229 |
padding: 8px 12px;
|
|
|
236 |
"""
|
237 |
#button5 = pn.pane.Markdown(markdown_button_style, width_policy="max")
|
238 |
|
239 |
+
button5 = pn.pane.Markdown("<div style='background-color:#f0f0f0; color: white; padding:8px 12px; font-weight: bold; border:1px solid #ccc; " "border-radius:4px; text-align:center; width:100%;'>Causal Relation Chord Diagrams</div>", width=120, height=40, margin=(5, 5))
|
240 |
|
241 |
|
242 |
# Define child buttons
|