From 1017f44cd0701a0c00da122970ec2aa29c5cc64c Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Fri, 19 Mar 2021 14:02:41 -0700 Subject: [PATCH] Move ReportActionContextMenu up for grouped ReportActionItems --- src/pages/home/report/ReportActionItem.js | 10 ++++++---- src/styles/getReportActionItemStyles.js | 17 ++++++++++++++++- src/styles/styles.js | 7 ------- src/styles/utilities/positioning.js | 3 +++ 4 files changed, 25 insertions(+), 12 deletions(-) diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index 3525cd4a8770..a0d920a60185 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -6,8 +6,10 @@ import {withOnyx} from 'react-native-onyx'; import CONST from '../../../CONST'; import ONYXKEYS from '../../../ONYXKEYS'; import ReportActionPropTypes from './ReportActionPropTypes'; -import styles from '../../../styles/styles'; -import getReportActionItemStyles from '../../../styles/getReportActionItemStyles'; +import { + getReportActionItemStyle, + getMiniReportActionContextMenuWrapperStyle, +} from '../../../styles/getReportActionItemStyles'; import PressableWithSecondaryInteraction from '../../../components/PressableWithSecondaryInteraction'; import Hoverable from '../../../components/Hoverable'; import PopoverWithMeasuredContent from '../../../components/PopoverWithMeasuredContent'; @@ -107,12 +109,12 @@ class ReportActionItem extends Component { {hovered => ( - + {!this.props.displayAsGroup ? : } - +