Skip to content

Commit

Permalink
At #538 Modify prev/next button's position
Browse files Browse the repository at this point in the history
  • Loading branch information
jaegeunha committed Oct 24, 2024
1 parent 5fa87ad commit 5f80468
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions frontend/src/shared/components/TimeRangeShiftDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,23 +239,6 @@ class TimeRangeShiftDropdown extends Component {
autoHeight={true}
maxHeight={DROPDOWN_MENU_MAX_HEIGHT}
>
{preventCustomTimeRange ? null : (
<div>
<li className="dropdown-header">Absolute Time</li>
<li
className={
isCustomTimeRangeOpen
? 'active dropdown-item custom-timerange'
: 'dropdown-item custom-timerange'
}
>
<a href="#" onClick={this.showCustomTimeRange}>
Date Picker
</a>
</li>
</div>
)}

<div style={{display: 'flex', flexDirection: 'row'}}>
<li
className="dropdown-item"
Expand All @@ -280,6 +263,23 @@ class TimeRangeShiftDropdown extends Component {
</a>
</li>
</div>
{preventCustomTimeRange ? null : (
<div>
<li className="dropdown-header">Absolute Time</li>
<li
className={
isCustomTimeRangeOpen
? 'active dropdown-item custom-timerange'
: 'dropdown-item custom-timerange'
}
>
<a href="#" onClick={this.showCustomTimeRange}>
Date Picker
</a>
</li>
</div>
)}

<li className="dropdown-header">
{preventCustomTimeRange ? '' : 'Relative '}Time
</li>
Expand Down

0 comments on commit 5f80468

Please sign in to comment.