From 03e69b315cb89c6e0161a9f5b68bcb25d7141abb Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 18 Feb 2026 02:14:30 +0100 Subject: [PATCH] chore(profile): design & layout adjustments --- .../PlayerProfileView/ProfileHistoryList.vue | 24 +++++++++---------- .../PlayerProfileView/ProfileRecentStats.vue | 16 +++++++++---- .../PlayerProfileView/ProfileSummary.vue | 2 +- src/styles/_global.scss | 1 + src/views/PlayerProfileView.vue | 2 ++ 5 files changed, 26 insertions(+), 19 deletions(-) diff --git a/src/components/PlayerProfileView/ProfileHistoryList.vue b/src/components/PlayerProfileView/ProfileHistoryList.vue index 1975539..3e5a27a 100644 --- a/src/components/PlayerProfileView/ProfileHistoryList.vue +++ b/src/components/PlayerProfileView/ProfileHistoryList.vue @@ -4,7 +4,7 @@
@@ -223,12 +224,9 @@ async function fetchPlayerJournal() { .list-header { position: sticky; top: 0; - background-color: var(--clr-bg); - padding-bottom: 0.5em; & > h3 { padding: 0.5em; - background-color: var(--clr-tile); margin-bottom: 0.5em; } } @@ -237,26 +235,22 @@ async function fetchPlayerJournal() { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; - padding: 1px; + padding: 0.5em; + background-color: var(--clr-tile); } .menu-btn { - background-color: var(--clr-tile); padding: 0.5em; font-weight: bold; color: #aaa; - &:hover { - background-color: #2b2b2b; - } - &[data-active='true'] { color: var(--clr-success); } } .history-list-box { - padding: 0.25em; + padding: 0 0.5em; } .history-list-box > a { @@ -264,11 +258,15 @@ async function fetchPlayerJournal() { flex-direction: column; gap: 0.25em; - background-color: var(--clr-tile); + background-color: var(--clr-bg-light); padding: 0.5em; margin-bottom: 0.5em; text-align: initial; + + &:hover { + background-color: #333; + } } .entry-top-date { diff --git a/src/components/PlayerProfileView/ProfileRecentStats.vue b/src/components/PlayerProfileView/ProfileRecentStats.vue index d65c0f6..21610f5 100644 --- a/src/components/PlayerProfileView/ProfileRecentStats.vue +++ b/src/components/PlayerProfileView/ProfileRecentStats.vue @@ -1,6 +1,9 @@