From 9ac730eca4b42bc32368094842f237985542297b Mon Sep 17 00:00:00 2001
From: "tomtom.bot" <321199632+tomtom-bot7@users.noreply.github.com>
Date: Fri, 4 Sep 2026 09:29:02 +0000
Subject: [PATCH] fix(ui): tighten star/block gap and border E/M/H chips
Group list star and block with no gap, and show difficulty letters in a small bordered chip.
---
src/renderer/src/components/HomeView.svelte | 92 +++++++++++----------
1 file changed, 47 insertions(+), 45 deletions(-)
diff --git a/src/renderer/src/components/HomeView.svelte b/src/renderer/src/components/HomeView.svelte
index 54b3c24..83ec4fa 100644
--- a/src/renderer/src/components/HomeView.svelte
+++ b/src/renderer/src/components/HomeView.svelte
@@ -142,13 +142,13 @@
function getDifficultyColor(difficulty: string): string {
switch (difficulty) {
case 'Easy':
- return 'text-green-500'
+ return 'text-green-500 border-green-500/40'
case 'Medium':
- return 'text-amber-500'
+ return 'text-amber-500 border-amber-500/40'
case 'Hard':
- return 'text-red-500'
+ return 'text-red-500 border-red-500/40'
default:
- return 'text-gray-500'
+ return 'text-gray-500 border-gray-400/40'
}
}
@@ -518,48 +518,50 @@
{problem.neet_id}. {problem.title}
-
-
+
+
+
+