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

Commit

Permalink
update: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
MadanKumarGovindaswamy committed May 14, 2024
1 parent d4cd74e commit da86321
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
:local {
.list-item {
background-color: var(--terra-navigation-side-menu-list-item-background-color);
border-bottom: var(--terra-navigation-side-menu-list-item-border-bottom, none);
border-left: var(--terra-navigation-side-menu-list-item-border-left, none);
border-right: var(--terra-navigation-side-menu-list-item-border-right, none);
border-top: var(--terra-navigation-side-menu-list-item-border-top, none);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ class NavigationSideMenu extends Component {
isDisabled={item.isDisabled}
text={item.text}
key={key}
onClick={(event) => { (!(item.isDisabled)) ? this.handleItemClick(event, key) : undefined; }}
onClick={!item.isDisabled ? event => this.handleItemClick(event, key) : undefined}
onKeyDown={onKeyDown}
data-menu-item={key}
tabIndex={(tabIndex === 0 && !(this.onBack)) ? '0' : '-1'}
Expand Down Expand Up @@ -395,7 +395,7 @@ class NavigationSideMenu extends Component {
}

const headerStyles = cx([
{ headerStyle: true },
{ 'header-style': (variant === 'drill-in') },
theme.className,
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
}
}

.headerStyle {
border-bottom: var(--terra-navigation-side-menu-list-item-border-bottom, 1px solid #D3D4D5);
.header-style {
border-bottom: var(--terra-navigation-side-menu-list-border-bottom, 1px solid #d3d4d5);
}

.side-menu-list {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
--terra-navigation-side-menu-focus-outline-offset: 0;
--terra-navigation-side-menu-item-focus-box-shadow: 0 0 0 1px rgba(76, 178, 233, 0.5), 0 0 4px 3px rgba(76, 178, 233, 0.35);
--terra-navigation-side-menu-outline-view-item-hover-background-color: #F2F9FE;
--terra-navigation-side-menu-outline-view-item-focus-background-color: #FFFFFF;
--terra-navigation-side-menu-outline-view-item-focus-background-color: #FFF;
}
}

0 comments on commit da86321

Please sign in to comment.