Skip to content

Commit

Permalink
fix: proper use of cx
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Jan 24, 2025
1 parent df513e6 commit ccfb926
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion app/component/itinerary/navigator/NaviBoardingInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const NaviBoardingInfo = ({
withExpandIcon,
}) => {
return (
<div className={cx('boarding', withExpandIcon && 'with-icon')}>
<div className={cx('boarding', { 'with-icon': withExpandIcon })}>
<div className="route-info">
{withExpandIcon && (
<Icon img="navi-expand" className="icon-expand-small" />
Expand Down
11 changes: 0 additions & 11 deletions app/component/itinerary/navigator/navigator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ $fixed-width-padding: 16px;
border-radius: $border-radius;
}

.route-number {
.vcenter-children {
.vehicle-number {
color: white;
margin-top: 5px;
}

display: flex;
}
}

.headsign {
margin-left: 10px;
font-size: $font-size-small;
Expand Down

0 comments on commit ccfb926

Please sign in to comment.