Skip to content

Commit 81b6211

Browse files
authored
fix: button hover background color (#1653)
This PR updates the hover background for the top navigation buttons that are shown when the left side navigation is enabled. The hover background is updated to match the hover background of other existing IconButton components, see DiscussionNotificationTrigger.jsx, on the page.
1 parent 226c4cc commit 81b6211

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/courseware/course/sequence/sequence-navigation/generic/NextButton.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ const NextButton = ({
4747
if (isAtTop) {
4848
return (
4949
<IconButton
50-
variant="light"
51-
className={buttonStyle}
50+
className={`${buttonStyle} icon-hover`}
5251
onClick={onClick}
5352
src={nextArrow}
5453
disabled={disabled}

src/courseware/course/sequence/sequence-navigation/generic/PreviousButton.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ const PreviousButton = ({
4040
if (isAtTop) {
4141
return (
4242
<IconButton
43-
variant="light"
44-
className={buttonStyle}
43+
className={`${buttonStyle} icon-hover`}
4544
onClick={onClickHandler}
4645
src={prevArrow}
4746
disabled={disabled}

0 commit comments

Comments
 (0)