Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Admin: Fixed CSS for active state in dropdowns

Damian Legawiecfb51e27e06ff
diff --git a/admin/app/assets/tailwind/spree/admin/components/_dropdowns.css b/admin/app/assets/tailwind/spree/admin/components/_dropdowns.css
index 6ef6075e6a..da2aaedcb6 100644
--- a/admin/app/assets/tailwind/spree/admin/components/_dropdowns.css
+++ b/admin/app/assets/tailwind/spree/admin/components/_dropdowns.css
@@ -86,20 +86,13 @@
}
.dropdown-item.active {
- @apply relative text-gray-900! font-bold! bg-gray-200/50!;
+ @apply text-gray-900! font-bold! bg-gray-200/50!;
}
.dropdown-item.active i {
@apply text-gray-900!;
}
- .dropdown-item.active::after {
- @apply inline-block absolute right-3 w-4 h-4;
- content: "";
- background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-check text-zinc-950"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l5 5l10 -10"/></svg>')
- no-repeat center center;
- }
-
.dropdown-item:active {
@apply no-underline text-gray-900 bg-gray-100;
}