layout.py is bloated with copied and pasted styles
the following 13 line tooltip for example can be simplified to use a CSS class with a different label and children
this child div can be simplified to a CSS class with a different background color
another possible child can be a button
Dash Mantine Components has a styles API that interacts with CSS
dmc.Tooltip(
withArrow=True,
width=200,
multiline=True,
position="right",
transition="fade",
transitionDuration=300,
label="Empty/Corrupt Cells: Cells that are empty, NaN, or None",
children=html.Div(style={
'display': 'inline-block',
'width': '20px',
'height': '20px',
'backgroundColor': '#f87171',
"margin": "0.5rem",
})
)
layout.py is bloated with copied and pasted styles the following 13 line tooltip for example can be simplified to use a CSS class with a different label and children this child div can be simplified to a CSS class with a different background color another possible child can be a button
Dash Mantine Components has a styles API that interacts with CSS