From 4759a7828a8ae2452bacc59f0953b7a5cf3b8d06 Mon Sep 17 00:00:00 2001 From: nicolasito1411 <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:00:17 +0100 Subject: [PATCH 1/2] fix: leaderboard padding top --- styles/leaderboard.module.css | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/styles/leaderboard.module.css b/styles/leaderboard.module.css index 684dab4e..8a1d5978 100644 --- a/styles/leaderboard.module.css +++ b/styles/leaderboard.module.css @@ -6,7 +6,6 @@ } .leaderboard_container { - padding: 0.5rem; display: flex; flex-direction: column; width: 100%; @@ -35,14 +34,13 @@ display: flex; flex-direction: column; border-radius: 0.5rem; - background-color: #1F1F25; + background-color: #1f1f25; width: 100%; gap: 1.5rem; z-index: 1; padding: 1.5rem 0.5rem; } - .leaderboard_topbar { display: flex; flex-direction: column; @@ -59,14 +57,13 @@ justify-content: center; } - .leaderboard_quest_banner { display: flex; width: 100%; justify-content: center; margin-top: 12vh; max-width: 950px; - margin-bottom: 24px; + margin-bottom: 24x; } .chip_list { @@ -76,7 +73,6 @@ border-radius: 24px; } - .leaderboardSkeleton { height: 90vh; position: relative; @@ -97,21 +93,19 @@ gap: 1rem; } - .percentile_text_normal { font-size: 16px; font-weight: 400; line-height: 32px; - color: #A6A5A7; + color: #a6a5a7; } - .percentile_text_green { font-size: 20px; font-weight: 700; line-height: 24px; letter-spacing: 0.2px; - color: #6AFFAF; + color: #6affaf; } .percentile_text_container { @@ -124,7 +118,7 @@ } .rows_text { - color: #A6A5A7; + color: #a6a5a7; font-size: 14px; font-weight: 400; line-height: 18px; @@ -146,7 +140,7 @@ .menu_button { padding: 6px; - color: #A6A5A7; + color: #a6a5a7; } .menu_button:hover { @@ -154,7 +148,7 @@ } .quests_text { - color: var(--background-400, #E1DCEA); + color: var(--background-400, #e1dcea); text-align: right; font-size: 10px; font-weight: 400; @@ -168,7 +162,6 @@ width: 100%; } - .search_bar_container { border: 1px solid transparent; padding: 10px; @@ -221,7 +214,6 @@ z-index: -1; } - .ranking_container { display: flex; flex-direction: column; @@ -245,7 +237,6 @@ flex: 0.1; } - .ranking_table_row_xp_quest { display: flex; flex-direction: column; @@ -269,7 +260,6 @@ align-items: center; } - .ranking_profile_layout { display: flex; flex: 1; @@ -277,7 +267,6 @@ align-items: center; } - .controls_layout_container { width: 100%; display: flex; @@ -305,7 +294,6 @@ display: flex; gap: 0.25rem; align-items: center; - } .controls_right_container { @@ -329,7 +317,7 @@ padding: 1.5rem 1rem; align-items: center; gap: 0.5rem; - background: linear-gradient(180deg, #29282B 0%, #101012 100%); + background: linear-gradient(180deg, #29282b 0%, #101012 100%); } .rank_card_badge { @@ -386,7 +374,7 @@ } .leaderboard_container { - padding: 8rem 1.5rem; + padding: 12vh 1.5rem; } .leaderboard_skeleton { @@ -421,4 +409,4 @@ .leaderboard_layout { padding: 1.5rem; } -} \ No newline at end of file +} From 2e3cabedf4d4b51ac2641a1338d69e7662a0dec2 Mon Sep 17 00:00:00 2001 From: nicolasito1411 <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:01:35 +0100 Subject: [PATCH 2/2] fixing unit --- styles/leaderboard.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/leaderboard.module.css b/styles/leaderboard.module.css index 8a1d5978..f475f8e4 100644 --- a/styles/leaderboard.module.css +++ b/styles/leaderboard.module.css @@ -63,7 +63,7 @@ justify-content: center; margin-top: 12vh; max-width: 950px; - margin-bottom: 24x; + margin-bottom: 24px; } .chip_list {