Skip to content

Commit 1a9442f

Browse files
authored
fix(appmenu): fixes and improvements (#1213)
2 parents 4ec0682 + d5ad3af commit 1a9442f

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

src/components/appMenu/CircularMenu/CircularMenuItem.module.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
align-items: center;
1212
display: flex;
1313
pointer-events: auto;
14+
transition: 0.2s ease-in-out 0s;
1415
}
1516

1617
.menuItem.active {
@@ -23,6 +24,7 @@
2324
.menuItem:hover {
2425
border: 1px solid #4ed6ae;
2526
box-shadow: 0px 0px 8px #4ed6ae inset, 0px 0px 13px #4ed6ae;
27+
transform: scale(1.2);
2628
}
2729

2830
.itemContainer {
@@ -40,6 +42,13 @@
4042
display: flex;
4143
}
4244

45+
.navLink {
46+
display: block;
47+
padding: 10px;
48+
position: inherit;
49+
margin: -10px;
50+
}
51+
4352
.external {
4453
display: block;
4554
position: absolute;

src/components/appMenu/CircularMenu/CircularMenuItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function CircularMenuItem({ item, onClick, selected }: Props) {
1919
<NavLink
2020
to={item.to}
2121
onClick={onClick}
22-
style={{ position: 'inherit' }}
22+
className={styles.navLink}
2323
{...(isExternal && { target: '_blank', rel: 'noreferrer noopener' })}
2424
>
2525
<img src={item.icon} className={styles.icon} alt="img" />

src/pages/oracle/landing/OracleLanding.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../../layouts/variables.module.scss';
22

3-
$mobile-breakpoint: 480px;
3+
$mobile-breakpoint: 1279px;
44

55
:export {
66
mobileBreakpoint: $mobile-breakpoint;

0 commit comments

Comments
 (0)