Skip to content

Commit ebbeaf7

Browse files
committed
feat(topbar): add hover background to topbar buttons
Signed-off-by: Dhruv Arora <dhruv.arora1@autodesk.com>
1 parent 317b9e5 commit ebbeaf7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

fission/src/ui/components/SplitButtonDropdown.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const HALF_SX = {
1515
...TOP_BAR_ICON_BUTTON_SX,
1616
height: "100%",
1717
borderRadius: 0,
18-
"&:hover": { backgroundColor: "rgba(255, 255, 255, 0.08)" },
1918
} as const
2019

2120
interface HalfProps {

fission/src/ui/components/topbar/TopBarConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export const TOP_BAR_GAP_PX = TOP_BAR_GAP * MUI_SPACING_UNIT_PX
77

88
export const TOP_BAR_ICON_BUTTON_SX = {
99
color: "topBarText.main",
10-
"&:hover": { backgroundColor: "transparent" },
10+
borderRadius: 1,
11+
"&:hover": { backgroundColor: "rgba(255, 255, 255, 0.08)" },
1112
"&:focus, &:focus-visible": { outline: "none" },
1213
} as const
1314

0 commit comments

Comments
 (0)