Skip to content

Commit

Permalink
💄 Remove div
Browse files Browse the repository at this point in the history
  • Loading branch information
leeandher committed Feb 25, 2025
1 parent 52cc442 commit 48c9134
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions static/app/components/tours/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@ export function TourElement<T extends TourEnumType>({
<div>
{currentStepIndex + 1}/{orderedStepIds.length}
</div>
<div>
<TourCloseButton
onClick={() => dispatch({type: 'END_TOUR'})}
icon={<IconClose style={{color: theme.inverted.textColor}} />}
aria-label={t('Close')}
borderless
size="sm"
/>
</div>
<TourCloseButton
onClick={() => dispatch({type: 'END_TOUR'})}
icon={<IconClose style={{color: theme.inverted.textColor}} />}
aria-label={t('Close')}
borderless
size="sm"
/>
</TopRow>
<TitleRow>{step.title}</TitleRow>
<DescriptionRow>{step.description}</DescriptionRow>
Expand Down Expand Up @@ -107,7 +105,7 @@ const BlurWindow = styled('div')`

const TourWrapper = styled('div')`
position: relative;
z-index: ${p => p.theme.zIndex.tooltip};
z-index: ${p => p.theme.zIndex.toast};
&:after {
content: '';
position: absolute;
Expand All @@ -129,6 +127,7 @@ const TourContent = styled('div')`
`;

const TourCloseButton = styled(Button)`
display: block;
padding: 0;
height: 14px;
min-height: 14px;
Expand Down

0 comments on commit 48c9134

Please sign in to comment.