Skip to content

Commit

Permalink
Fix HTML/CSS warning for palette group detail (bokeh#14021)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeil authored Aug 12, 2024
1 parent 9b83ee5 commit 6cc175c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bokeh/server/views/app_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light" id="main-menu">

<a class="navbar-brand" href="//bokeh.org" id="logo">
<img src="https://static.bokeh.org/logos/logotype.svg" height="30" width="110" />
<img src="https://static.bokeh.org/logos/logotype.svg" alt="Logo" height="30" width="110" />
</a>

<button class="navbar-toggler ml-auto hidden-sm-up float-xs-left" type="button" data-toggle="collapse" data-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
Expand Down
4 changes: 2 additions & 2 deletions src/bokeh/sphinxext/_templates/palette_group_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
{% for number in numbers %}
<tr>

<td height='20px' width='30px'> {{ number }} </td>
<td style="height: 20px; width: 30px;"> {{ number }} </td>

{% for color in palettes[number] %}
<td height="20px" width="20px" style="background-color: {{ color }};border: #444444 thin solid;"/>
<td style="height: 20px; width: 20px; background-color: {{ color }}; border: #444444 thin solid;"></td>
{% endfor %}

</tr>
Expand Down

0 comments on commit 6cc175c

Please sign in to comment.