Client - fix user stats display on mobile

This commit is contained in:
Sam 2021-09-22 11:54:35 +02:00
parent 41a723eb70
commit 05d7fd53d9

View File

@ -8,7 +8,7 @@
</div>
<div class="stat-details">
<div class="stat-huge">{{ value }}</div>
<div>{{ text }}</div>
<div class="stat">{{ text }}</div>
</div>
</div>
</template>
@ -93,6 +93,15 @@
font-size: 1em;
}
}
.stat {
font-size: 1em;
@media screen and (max-width: $medium-limit) {
font-size: 0.9em;
}
@media screen and (max-width: $x-small-limit) {
font-size: 0.8em;
}
}
}
}
}