Improve mobile stats (#302)

- flex-wrap instead of hard character break
- minimal margin
- add missing breakpoint for space
This commit is contained in:
Norbert Renner 2020-06-17 09:59:19 +02:00
parent 4ef43652df
commit ebaba664d2
2 changed files with 4 additions and 1 deletions

View file

@ -108,6 +108,7 @@ ul#stats {
display: flex; display: flex;
align-items: stretch; align-items: stretch;
justify-content: space-around; justify-content: space-around;
flex-wrap: wrap;
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -116,6 +117,7 @@ ul#stats {
display: inline-block; display: inline-block;
flex: 0 1 auto; flex: 0 1 auto;
list-style-type: none; list-style-type: none;
margin: 0 0.2em;
} }
p.stats-label { p.stats-label {

View file

@ -846,7 +846,8 @@
> >
</div> </div>
<p class="stats-label"> <p class="stats-label">
<span id="ascend">-</span>&#8239;<abbr <span id="ascend">-</span><span class="d-none d-md-inline">&#8239;</span
><abbr
class="d-none d-md-inline" class="d-none d-md-inline"
data-i18n="[title]footer.meter;footer.meter-abbrev" data-i18n="[title]footer.meter;footer.meter-abbrev"
title="meters" title="meters"