diff --git a/assets/style.css b/assets/style.css index 1c1370cfe7a3ced30d13f56f323badd8474a6e4b..0abc4cb8afd24dfeabc20c3f91887526fc36013a 100644 --- a/assets/style.css +++ b/assets/style.css @@ -677,7 +677,6 @@ div.dropdown-menu.show { .info { padding: .15rem .15rem !important; - min-width: 24%; max-width: 79%; } diff --git a/data_handler.py b/data_handler.py index 01a07fec8f719752e813d448ee00037b091bffd9..3d4adc1330c060bd0da548f8d6caa4cf24a59e5b 100644 --- a/data_handler.py +++ b/data_handler.py @@ -1485,15 +1485,15 @@ class ProbFigureHandler(object): for i, cls in enumerate(bounds)] indices = list(range(len(ctg))) colorbar = dl.Colorbar( - min=0, max=len(ctg)-1, + min=-.1, max=len(ctg)-.7, classes=indices, colorscale=colorscale, tickValues=indices, tickText=ctg, position='topleft', - width=250, - height=15, - style={ 'top': '65px' } + width = 330, + height=8, + style={ 'top': '65px','overflow':'hidden', 'white-space':'nowrap'} ) # Geojson rendering logic, must be JavaScript as it is executed in clientside.