Skip to content

Commit

Permalink
fix css and use cx for classname
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainValls committed Nov 26, 2024
1 parent 713f36d commit db9cf66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const ScenarioContent = ({
{collapsedTimetable && (
<>
<div
className={`scenario-timetable-collapsed ${collapsedTimetable ? 'd-none' : ''}`}
className={cx('scenario-timetable-collapsed', { 'd-none': collapsedTimetable })}
>
<div className="lead ml-2">{scenario.name}</div>
<div className="d-flex align-items-center ml-auto">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@
position: absolute;
left: 0;
top: 38px;
transform: translateY(38px);
padding-bottom: 3px;
padding-inline: 4px 12px;
height: 34px;
width: 24px;
color: var(--grey40);
background-color: var(--white100);
border-radius: 0px 5px 5px 0px;
top: 0;
box-shadow: 0 0 0 1px var(--black10);
clip-path: inset(-1px -1px -1px 1px);
z-index: 2;
Expand Down

0 comments on commit db9cf66

Please sign in to comment.