Hotfix iOS display issue for charts v3.1 [release]

This commit is contained in:
linguist
2021-01-05 20:38:34 +01:00
parent 7711016bf3
commit db876713eb
2 changed files with 3 additions and 7 deletions

View File

@@ -859,7 +859,7 @@
<%= plugins.stargazers.error.message %> <%= plugins.stargazers.error.message %>
</div> </div>
<% } else { %> <% } else { %>
<div class="row"> <div class="row margin-bottom">
<section class="column chart"> <section class="column chart">
<h3>Total stargazers</h3> <h3>Total stargazers</h3>
<div class="chart-bars"> <div class="chart-bars">

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

View File

@@ -370,13 +370,9 @@
min-width: 30%; min-width: 30%;
} }
.chart-bars .entry {
position: relative;
}
.chart-bars .entry .bottom { .chart-bars .entry .bottom {
position: absolute; margin-bottom: -1rem;
top: 100%; line-height: 1rem;
} }
.chart-bars.horizontal .bar { .chart-bars.horizontal .bar {