Hello,
In my code I have the following RangeSlider:
html.Div(
[
dcc.RangeSlider(
id='GlobalRangeSlider',
min=0,
max=len(available_dates_rangeslider)-1,
marks={i : {'label' : available_dates_rangeslider[i], 'style':{'transform':'rotate(-45deg)', **'font-size':'9px'**}} for i in range(0, len(available_dates_barchart))},
value=[30, len(available_dates_barchart)-1],
allowCross=False
)
],
className='twelve columns',
style={'height':'40px','text-align': 'center'}
When I run this code on my localhost, the font-size of my RangeSliders’ marks is 9px; if I inspect the page, I get this:
So far, so good.
But if I upload my dash app on my VPS, the font size is not anymore 9px. It’s like the inline CSS is ignored. If I inspect the page, the font size is not specified:
Why?