feat: improve layout

This commit is contained in:
thomas
2024-03-30 18:03:33 +01:00
parent 8561653850
commit 108c7758da
5 changed files with 22 additions and 27 deletions

View File

@@ -54,19 +54,19 @@ export default defineConfig({
ru: 'Руководство'
}
},
{
label: 'Leaderboard',
autogenerate: {
directory: 'leaderboard',
collapsed: true
},
translations: {
es: 'Leaderboard',
fr: 'Leaderboard',
pt: 'Leaderboard',
ru: 'Leaderboard'
}
},
// {
// label: 'Leaderboard',
// autogenerate: {
// directory: 'leaderboard',
// collapsed: true
// },
// translations: {
// es: 'Leaderboard',
// fr: 'Leaderboard',
// pt: 'Leaderboard',
// ru: 'Leaderboard'
// }
// },
{
label: 'Challenges',
autogenerate: {

View File

@@ -88,9 +88,9 @@
<style>
.box {
display: grid;
display: flex;
flex-wrap: wrap;
justify-items: center;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-top: 2rem;
}

View File

@@ -71,10 +71,10 @@
<style>
.box {
display: grid;
display: flex;
flex-wrap: wrap;
justify-items: center;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
gap: 1rem;
margin-top: 2rem;
}
</style>

View File

@@ -87,10 +87,10 @@
<style>
.box {
display: grid;
display: flex;
flex-wrap: wrap;
justify-items: center;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
gap: 1rem;
margin-top: 2rem;
}
</style>

View File

@@ -34,9 +34,8 @@
border: 1px solid var(--sl-color-gray-3);
border-radius: 5px;
align-items: center;
width: 100%;
max-width: 300px;
justify-content: space-between;
width: 100%;
}
.user-info {
@@ -63,10 +62,6 @@
font-size: 24px;
color: red;
line-height: 24px;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.count {