Skip to content

Commit

Permalink
chore: add hover color to button to highlight it
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Jan 14, 2025
1 parent d988359 commit b9f5ded
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/edit/ItemSelector/ContentMenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const LaunchLink = ({ url }) => {
className={classes.launchLinkButton}
aria-label={i18n.t('Open visualization in new tab')}
>
<IconLaunch16 color={colors.grey700} />
<IconLaunch16 />
</button>
)
}
Expand Down
9 changes: 6 additions & 3 deletions src/pages/edit/ItemSelector/styles/ContentMenuItem.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
}

.launchLinkButton {
all: unset;
display: flex;
margin-inline-start: 8px;
z-index: 10000;
border: none;
background-color: transparent;
padding: 0;
color: var(--colors-grey600);
}

.label {
Expand Down Expand Up @@ -39,3 +38,7 @@ li .buttonInsert {
.buttonInsert:focus {
outline: none;
}

.launchLinkButton:hover {
color: var(--colors-grey900);
}

0 comments on commit b9f5ded

Please sign in to comment.