diff --git a/src/funki/pages/norm.py b/src/funki/pages/norm.py index c93bf9f..fc23ba2 100644 --- a/src/funki/pages/norm.py +++ b/src/funki/pages/norm.py @@ -49,14 +49,18 @@ ), html.Br(), '- Max. % mito. genes per cell: ', - dcc.Input( # TODO: Switch to slider? - id='mito-pct', - type='number', - placeholder='e.g. 5', - value=None, - min=0, - max=100, - style={'width': 100} + html.Div( + dcc.Slider( + id='mito-pct', + min=0, + max=100, + value=100, + tooltip={ + 'always_visible': True, + 'placement': 'top' + }, + ), + style={'width': '80%'}, ), html.Br(), html.Br(),