Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Feb 15, 2021
1 parent c1d1b2b commit ab8b268
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ const StepDiv = styled.div`
figure.euiImage-isFullScreen {
div.stepArrowsFullScreen {
display: flex;
background-color: #fff;
}
.euiImage__caption {
background-color: #fff;
}
}
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ export const fullSizeImageAlt = i18n.translate('xpack.uptime.synthetics.thumbnai
defaultMessage: `A larger version of the screenshot for this journey step's thumbnail.`,
});

export const formatCaptionContent = (stepNumber: number, stepName?: number) =>
export const formatCaptionContent = (stepNumber: number, totalSteps?: number) =>
i18n.translate('xpack.uptime.synthetics.pingTimestamp.captionContent', {
defaultMessage: 'Step: {stepNumber} {stepName}',
defaultMessage: 'Step: {stepNumber} of {totalSteps}',
values: {
stepNumber,
stepName,
totalSteps,
},
});

0 comments on commit ab8b268

Please sign in to comment.