chore(profile): design & layout adjustments

This commit is contained in:
2026-02-18 02:14:30 +01:00
parent f2c11bf2cf
commit 03e69b315c
5 changed files with 26 additions and 19 deletions
@@ -1,6 +1,9 @@
<template>
<section class="profile-recent-stats">
<h3 class="stats-header">{{ t('profile.recent-stats.header') }}</h3>
<h2 class="stats-header">
<img src="/images/icon-stats.svg" width="30" alt="stats icon" />
{{ t('profile.recent-stats.header') }}
</h2>
<div class="month-stats-box">
<div class="month-stat">
@@ -67,19 +70,22 @@ defineProps({
}
.stats-header {
padding: 0.5em;
background-color: var(--clr-tile);
margin-bottom: 0.5em;
padding: 1em;
img {
vertical-align: text-bottom;
}
}
.month-stats-box {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.5em;
padding: 0.5em;
}
.month-stat {
background-color: var(--clr-tile);
background-color: var(--clr-bg-light);
border-radius: 0.5em;
padding: 0.5em;