Skip to content

Commit e2a4906

Browse files
fix(pill): Minor fix (#21406)
1 parent f4370a6 commit e2a4906

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/sentry/static/sentry/app/components/deviceName.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import PropTypes from 'prop-types';
22
import React from 'react';
3-
import styled from '@emotion/styled';
43

54
import {IOSDeviceList} from 'app/types/iOSDeviceList';
65

@@ -80,13 +79,9 @@ export default class DeviceName extends React.Component<Props, State> {
8079
const deviceName = deviceNameMapper(value, iOSDeviceList);
8180

8281
return (
83-
<Wrapper data-test-id="loaded-device-name">
82+
<span data-test-id="loaded-device-name">
8483
{children ? children(deviceName) : deviceName}
85-
</Wrapper>
84+
</span>
8685
);
8786
}
8887
}
89-
90-
const Wrapper = styled('span')`
91-
vertical-align: middle;
92-
`;

src/sentry/static/sentry/app/components/pill.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const StyledPill = styled('li')<{type?: PILL_TYPE}>`
134134
border: 1px solid ${p => p.theme.borderDark};
135135
border-radius: ${p => p.theme.button.borderRadius};
136136
box-shadow: ${p => p.theme.dropShadowLightest};
137-
line-height: 1;
137+
line-height: 1.2;
138138
max-width: 100%;
139139
:last-child {
140140
margin-right: 0;

0 commit comments

Comments
 (0)