Skip to content

Commit 38d0765

Browse files
Fixed tooltip styling for native
1 parent 4446096 commit 38d0765

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ function App({url, hybridAppSettings}: AppProps) {
8888
ThemeStylesProvider,
8989
ThemeIllustrationsProvider,
9090
SafeAreaProvider,
91+
HTMLEngineProvider,
9192
PortalProvider,
9293
SafeArea,
9394
LocaleContextProvider,
94-
HTMLEngineProvider,
9595
PopoverContextProvider,
9696
CurrentReportIDContextProvider,
9797
ScrollOffsetContextProvider,

src/components/ProductTrainingContext/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,9 @@ const useProductTrainingContext = (tooltipName: ProductTrainingTooltipName, shou
294294
fill={theme.tooltipHighlightText}
295295
medium
296296
/>
297-
<RenderHTML html={translate(tooltip.content)} />
297+
<View style={[styles.renderHTML, styles.dFlex, styles.flexShrink1]}>
298+
<RenderHTML html={translate(tooltip.content)} />
299+
</View>
298300
{!tooltip?.shouldRenderActionButtons && (
299301
<PressableWithoutFeedback
300302
shouldUseAutoHitSlop
@@ -344,6 +346,9 @@ const useProductTrainingContext = (tooltipName: ProductTrainingTooltipName, shou
344346
styles.justifyContentBetween,
345347
styles.ph2,
346348
styles.gap2,
349+
styles.renderHTML,
350+
styles.dFlex,
351+
styles.flexShrink1,
347352
theme.tooltipHighlightText,
348353
theme.icon,
349354
translate,

src/languages/de.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6959,7 +6959,7 @@ const translations = {
69596959
globalCreateTooltip: '<tooltip><strong>Ausgaben erstellen</strong>, beginnen Sie zu chatten, und mehr. Probieren Sie es aus!</tooltip>',
69606960
bottomNavInboxTooltip: '<tooltip>Überprüfen Sie was <strong>benötigt Ihre Aufmerksamkeit</strong> und <strong>über Ausgaben chatten.</strong></tooltip>',
69616961
workspaceChatTooltip: '<tooltip>Chatten mit <strong>Genehmigern</strong></tooltip>',
6962-
GBRRBRChat: '<tooltip>Du wirst 🟢 auf sehen <strong>Maßnahmen ergreifen</strong>,\nund 🔴 auf <strong>Elemente zur Überprüfung.</strong></tooltip>',
6962+
GBRRBRChat: '<tooltip>Du wirst 🟢 auf sehen <strong>Maßnahmen ergreifen</strong>, und 🔴 auf <strong>Elemente zur Überprüfung.</strong></tooltip>',
69636963
accountSwitcher: '<tooltip>Zugriff auf Ihre <strong>Copilot-Konten</strong> hier</tooltip>',
69646964
expenseReportsFilter: '<tooltip>Willkommen! Finden Sie alle Ihre <strong>Berichte des Unternehmens</strong> hier.</tooltip>',
69656965
scanTestTooltip: {

0 commit comments

Comments
 (0)