File tree Expand file tree Collapse file tree
libs/Navigation/helpers/calculateSuperWideRHPWidth Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ import variables from '@styles/variables';
99 * @returns Calculated super wide RHP width with constraints applied
1010 */
1111function calculateSuperWideRHPWidth ( windowWidth : number ) {
12- const superWideRHPWidth = windowWidth - variables . navigationTabBarSize - variables . sideBarWithLHBWidth ;
12+ const superWideRHPWidth = windowWidth - ( variables . navigationTabBarSize + variables . sideBarWithLHBWidth ) ;
1313 const wideRHPWidth = calculateReceiptPaneRHPWidth ( windowWidth ) + variables . sideBarWidth ;
1414
15- return Math . max ( Math . min ( superWideRHPWidth , variables . superWideRHPMaxWidth ) , wideRHPWidth ) ;
15+ return Math . max ( superWideRHPWidth , wideRHPWidth ) ;
1616}
1717
1818export default calculateSuperWideRHPWidth ;
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ export default {
106106 receiptPaneRHPMaxWidth : 465 ,
107107 homePageLeftColumnMaxWidth : 680 ,
108108 homePageRightColumnMaxWidth : 488 ,
109- superWideRHPMaxWidth : 1260 ,
110109 minScanTooltipWidth : 320 ,
111110 uploadViewMargin : 20 ,
112111 chooseFilesViewMargin : 8 ,
You can’t perform that action at this time.
0 commit comments