I was using bokeh version 2.3.1 till now and I modified my column headers of the data table using a styles.css file located in my folder “/app/static/css/styles.css”. I also have an index.html file located in “/app/templates/index.html”. The styles.css & index.html content can be found below. But I upgraded my bokeh yesterday to the latest version 3.1.0 and this whole thing stopped working. I just couldn’t find a way to fix it. Can anyone please help me? Thanks in advance!
I also attach here the before-bokeh version upgrade image. This nice formatting is totally gone after the upgrade.
styles.css:
.slick-header-column {
background-color:rgb(89, 0, 255) !important;
color: white !important;
height: 45px !important;
font-size: 11.5px !important;
white-space: normal !important;
background-image: none !important;
}
.slick-row {
background-color: white !important;
background-image: none !important;
font-size: 11.3px !important;
border-bottom: rgb(126, 126, 126) !important;
border-top: rgb(126, 126, 126) !important;
color:black !important;
}
.slick-cell {
padding: 1px !important;
font-size: 11.3px !important;
}
index.html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
{{ bokeh_css }}
{{ bokeh_js }}
<link rel="stylesheet" href="/app/static/css/styles.css"/>
</head>
<body>
{{ plot_div|indent(8) }}
{{ plot_script|indent(8) }}
</body>
</html>