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 ( - +