mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-13 21:32:18 +00:00
link color fix
This commit is contained in:
1 parent
4768f549f2
commit
f2168252d5
2 files changed
+10
-4
No files matched your search
@@ -6,15 +6,21 @@
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: rgba($white, 0.8);
|
||||
color: rgba($white, 0.8) !important;
|
||||
transition: 0.15s all;
|
||||
|
||||
a {
|
||||
color: rgba($white, 0.8);
|
||||
color: rgba($white, 0.8) !important;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
font-weight: 500 !important;
|
||||
transition: 0.15s all;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a {
|
||||
color: $white !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fy-nav-item:hover .fy-dropdown-menu {
|
||||
|
||||
@@ -30,7 +30,7 @@ export default function NavItem({
|
||||
}: NavItemProps) {
|
||||
const [isHovered, setIsHovered] = useState(false);
|
||||
|
||||
const textHover = `${isHovered && "text-white"}`.trim();
|
||||
const textHover = `${isHovered ? "text-white" : ""}`.trim();
|
||||
|
||||
const renderContent = () => {
|
||||
if (isHoverable && dropdownItems) {
|
||||
|
||||
Reference in new issue
Block a user