Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: hover issue (#5792)
Browse files Browse the repository at this point in the history
* fix: hover issue

* fix: hover issue

* fix: adding height

* fix: height
  • Loading branch information
mayuran-deriv authored Oct 24, 2023
1 parent 9ea9685 commit b3e2bdf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ const NavDesktopItem = ({ item, active }: DesktopItemsProps) => {
return (
<NavigationMenu.Item value={item.data.title}>
<NavigationMenu.Trigger className="navigation_trigger" onClick={handleClick}>
<Typography.Paragraph size="medium" font_family="UBUNTU">
<Typography.Paragraph
size="medium"
font_family="UBUNTU"
className="nav_text_wrapper"
>
<Localize translate_text={item.data.title} />
</Typography.Paragraph>
</NavigationMenu.Trigger>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,15 @@
.trade_landing_active {
inset-inline-end: 5rem;
}
.nav_text_wrapper {
@include breakpoints(tablet) {
position: relative;
&::before {
position: absolute;
content: '';
left: 0;
right: 0;
height: 5rem;
}
}
}

1 comment on commit b3e2bdf

@vercel
Copy link

@vercel vercel bot commented on b3e2bdf Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-com – ./

deriv-com.binary.sx
deriv-com-git-master.binary.sx

Please sign in to comment.