Skip to content

Commit 806a1df

Browse files
committed
fix(core): pDropDown flag for notices
1 parent 5bba80d commit 806a1df

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/client/components/PDropdown/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class PDropDown extends React.Component {
9595
const noticeFrame = document.getElementById('notice-banner')
9696
let hasNotice = false
9797
if (noticeFrame) hasNotice = !noticeFrame.classList.contains('uk-hidden')
98-
if (hasNotice) top -= 30
98+
if (hasNotice && !ref.classList.contains('opt-ignore-notice')) top -= 30
9999

100100
top = top + 'px'
101101

src/client/containers/Tickets/AssigneeDropdownPartial.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ class AssigneeDropdownPartial extends React.Component {
5353
ref={this.props.forwardedRef}
5454
title={'Select Assignee'}
5555
id={'assigneeDropdown'}
56+
className={'opt-ignore-notice'}
5657
override={true}
5758
leftArrow={true}
58-
topOffset={105}
59+
topOffset={75}
5960
leftOffset={35}
6061
minHeight={215}
6162
rightComponent={

0 commit comments

Comments
 (0)