Skip to content

Commit

Permalink
fix(core): pDropDown flag for notices
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Jul 7, 2022
1 parent 5bba80d commit 806a1df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/components/PDropdown/index.jsx
Expand Up @@ -95,7 +95,7 @@ class PDropDown extends React.Component {
const noticeFrame = document.getElementById('notice-banner')
let hasNotice = false
if (noticeFrame) hasNotice = !noticeFrame.classList.contains('uk-hidden')
if (hasNotice) top -= 30
if (hasNotice && !ref.classList.contains('opt-ignore-notice')) top -= 30

top = top + 'px'

Expand Down
3 changes: 2 additions & 1 deletion src/client/containers/Tickets/AssigneeDropdownPartial.jsx
Expand Up @@ -53,9 +53,10 @@ class AssigneeDropdownPartial extends React.Component {
ref={this.props.forwardedRef}
title={'Select Assignee'}
id={'assigneeDropdown'}
className={'opt-ignore-notice'}
override={true}
leftArrow={true}
topOffset={105}
topOffset={75}
leftOffset={35}
minHeight={215}
rightComponent={
Expand Down

0 comments on commit 806a1df

Please sign in to comment.