fix: Correctly handle active tab styling in login.liquid

This commit is contained in:
Kerby Martino (aider) committed 2025-05-03 15:41:12 +08:00
1 parent f17df7315f
commit 971b658ec9
1 file changed
+2 -2
+2 -2
View File
@@ -4,7 +4,7 @@
<div class="mb-4 border-b border-gray-200"> <div class="mb-4 border-b border-gray-200">
<nav class="-mb-px flex space-x-8" aria-label="Tabs"> <nav class="-mb-px flex space-x-8" aria-label="Tabs">
<a href="#tab-login" class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm <a href="#tab-login" class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm
border-primary text-primary [&:not(:target):not(:has(~:target))]:border-primary [&:not(:target):not(:has(~:target))]:text-primary [&:not(:target):not(:has(~:target))]:border-primary [&:not(:target):not(:has(~:target))]:text-primary
[&:target]:border-primary [&:target]:text-primary [&:target]:border-primary [&:target]:text-primary
[&:not(:target)]:border-transparent [&:not(:target)]:text-gray-500 [&:not(:target)]:hover:text-gray-700 [&:not(:target)]:hover:border-gray-300"> [&:not(:target)]:border-transparent [&:not(:target)]:text-gray-500 [&:not(:target)]:hover:text-gray-700 [&:not(:target)]:hover:border-gray-300">
Login Login
@@ -70,4 +70,4 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>