diff --git a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx index e882ed2fd89f..01fad4517e07 100755 --- a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx +++ b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx @@ -5,7 +5,6 @@ import type {TNode} from 'react-native-render-html'; import useThemeStyles from '@hooks/useThemeStyles'; import convertToLTR from '@libs/convertToLTR'; import FontUtils from '@styles/utils/FontUtils'; -import variables from '@styles/variables'; import type ChildrenProps from '@src/types/utils/ChildrenProps'; import {computeEmbeddedMaxWidth, isChildOfTaskTitle} from './htmlEngineUtils'; import htmlRenderers from './HTMLRenderers'; @@ -151,7 +150,7 @@ function BaseHTMLEngineProvider({textSelectable = false, children, enableExperim 'account-manager-link': HTMLElementModel.fromCustomModel({tagName: 'account-manager-link', contentModel: HTMLContentModel.textual}), 'next-step': HTMLElementModel.fromCustomModel({ tagName: 'next-step', - mixedUAStyles: {...styles.textLabelSupporting, paddingVertical: variables.labelPaddingVertical}, + mixedUAStyles: {...styles.textLabelSupporting, ...styles.lh16}, contentModel: HTMLContentModel.textual, }), 'next-step-email': HTMLElementModel.fromCustomModel({tagName: 'next-step-email', contentModel: HTMLContentModel.textual}), diff --git a/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx b/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx index c99da6e0287f..2deed8082948 100644 --- a/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx +++ b/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx @@ -705,7 +705,7 @@ function MoneyRequestReportPreviewContent({ {reportStatus} )} - {expenseCount} + {expenseCount} ) )} diff --git a/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx b/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx index ba9aac5f60e0..1090779fac9b 100644 --- a/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx +++ b/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx @@ -378,15 +378,7 @@ function TransactionPreviewContent({ /> {RBRMessage} diff --git a/src/pages/home/report/ReportActionsList.tsx b/src/pages/home/report/ReportActionsList.tsx index 6a910c1b4f3e..8bcad4613b84 100644 --- a/src/pages/home/report/ReportActionsList.tsx +++ b/src/pages/home/report/ReportActionsList.tsx @@ -855,7 +855,7 @@ function ReportActionsList({ onClick={scrollToBottomAndMarkReportAsRead} /> {shouldScrollToEndAfterLayout && topReportAction ? renderTopReportActions() : undefined} diff --git a/src/styles/index.ts b/src/styles/index.ts index 5108fb948d82..19fba200fd0a 100644 --- a/src/styles/index.ts +++ b/src/styles/index.ts @@ -359,7 +359,7 @@ const staticStyles = (theme: ThemeColors) => alignItems: 'center', justifyContent: 'center', borderRadius: variables.componentBorderRadiusSmall, - minHeight: 16, + height: 16, }, reportStatusText: { @@ -1466,10 +1466,6 @@ const staticStyles = (theme: ThemeColors) => lineHeight: '140%', }, - lhUndefined: { - lineHeight: undefined, - }, - formHelp: { color: theme.textSupporting, fontSize: variables.fontSizeLabel, @@ -4114,7 +4110,7 @@ const staticStyles = (theme: ThemeColors) => }, tabSelectorButton: { - minHeight: variables.tabSelectorButtonHeight, + height: variables.tabSelectorButtonHeight, padding: variables.tabSelectorButtonPadding, flexDirection: 'row', alignItems: 'center', @@ -4449,10 +4445,6 @@ const staticStyles = (theme: ThemeColors) => padding: 20, }, - textMicroSupportingPadding: { - padding: variables.paddingSmall, - }, - mapViewContainer: { ...flex.flex1, minHeight: 300, diff --git a/src/styles/variables.ts b/src/styles/variables.ts index fd0f014b5c73..87249a46dbba 100644 --- a/src/styles/variables.ts +++ b/src/styles/variables.ts @@ -52,7 +52,6 @@ export default { defaultAvatarPreviewSize: 360, fabBottom: 25, breadcrumbsFontSize: getValueUsingPixelRatio(19, 32), - labelPaddingVertical: Math.abs((getValueUsingPixelRatio(13, 19) - 16) / 2), fontSizeXXSmall: 7, fontSizeSmall: getValueUsingPixelRatio(11, 17), fontSizeExtraSmall: 9, @@ -134,7 +133,6 @@ export default { inputHeightSmall: 28, inputIconMarginTopSmall: getValueUsingPixelRatio(8, 11), inputIconMarginTopLarge: getValueUsingPixelRatio(16, 21), - paddingSmall: getValueUsingPixelRatio(7, 8), formErrorLineHeight: getValueUsingPixelRatio(18, 23), communicationsLinkHeight: getValueUsingPixelRatio(20, 30), alternateTextHeight: getValueUsingPixelRatio(20, 24),