From e1d292c95489aec8a9cb76102c524e6d13397ab1 Mon Sep 17 00:00:00 2001
From: tresabhi <43380238+tresabhi@users.noreply.github.com>
Date: Sat, 31 Oct 2026 16:21:18 -0500
Subject: [PATCH] apply s'more
---
.../components/DropdownMenu/index.module.css | 1 +
.../TankSearchFilters/index.module.css | 36 ++++--------
.../components/TankSearchFilters/index.tsx | 56 ++++++++++++-------
3 files changed, 46 insertions(+), 47 deletions(-)
diff --git a/packages/website/src/components/DropdownMenu/index.module.css b/packages/website/src/components/DropdownMenu/index.module.css
index 62d0d9911..f6df20b2e 100644
--- a/packages/website/src/components/DropdownMenu/index.module.css
+++ b/packages/website/src/components/DropdownMenu/index.module.css
@@ -32,6 +32,7 @@
padding-left: var(--gutter);
cursor: pointer;
+ user-select: none;
display: flex;
align-items: center;
diff --git a/packages/website/src/components/TankSearchFilters/index.module.css b/packages/website/src/components/TankSearchFilters/index.module.css
index c0249ae3b..8a545c944 100644
--- a/packages/website/src/components/TankSearchFilters/index.module.css
+++ b/packages/website/src/components/TankSearchFilters/index.module.css
@@ -1,29 +1,13 @@
-.nation-option {
- /* width="calc(100% + calc(4 * var(--space-2)))"
- height="100%"
- position="absolute"
- right="0"
- mr="-2"
- style={{
- backgroundImage: `url(${alias("api", `/flags/scratched/${nation}.webp`)})`,
- backgroundSize: "100%",
- backgroundRepeat: "no-repeat",
- backgroundPosition: "5rem center",
- }} */
+.nation {
+ .flag {
+ position: absolute;
+ top: 0;
+ right: 0;
- .overlay {
- /* width="100%"
- height="100%"
- style={{
- background: `linear-gradient(90deg, var(--gray-2) 50%, transparent)`,
- }} */
+ width: var(--space-7);
+ height: 100%;
+
+ background-size: 200%;
+ background-position: 0% 50%;
}
}
-
-.overflow-plus {
- /* ml="1" */
-}
-
-.shell-icon {
- display: contents;
-}
diff --git a/packages/website/src/components/TankSearchFilters/index.tsx b/packages/website/src/components/TankSearchFilters/index.tsx
index 6fc325dbd..0eec02871 100644
--- a/packages/website/src/components/TankSearchFilters/index.tsx
+++ b/packages/website/src/components/TankSearchFilters/index.tsx
@@ -193,7 +193,7 @@ function TiersFilter() {
const tiers = tiersRaw.length === 0 ? TIERS : tiersRaw;
return (
-
+
@@ -402,12 +406,16 @@ function ClassFilter() {
}}
checked={selected}
>
+
+
+
+
+ {strings.common.tank_class_medium[tankClass]}
+
-
- {strings.common.tank_class_medium[tankClass]}
);
})}
@@ -424,8 +432,9 @@ function ClassFilter() {
});
}}
>
-
{strings.website.common.tank_search.clear}
+
+
@@ -561,6 +570,12 @@ function TypeFilter() {
checked={selected}
key={tankType}
>
+
+
+
+
+ {strings.common.tree_type[tankType]}
+
-
- {strings.common.tree_type[tankType]}
);
})}
@@ -589,8 +602,9 @@ function TypeFilter() {
});
}}
>
-
{strings.website.common.tank_search.clear}
+
+