Skip to content

Commit

Permalink
Updated chart_width logic to set min-width to work with more display …
Browse files Browse the repository at this point in the history
…types
  • Loading branch information
DanielPDWalker committed Jan 10, 2024
1 parent b53ab88 commit 0e18d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmlcharts/bar_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def join_html_template(style_html, xaxis_html, bars_html, chart_width):
{style_html}
</head>
<body>
<table style="width: {chart_width};">
<table style="min-width: {chart_width};">
<tbody>
<tr class="bars">
{bars_html}
Expand Down

0 comments on commit 0e18d16

Please sign in to comment.