Skip to content

Commit 02bc0c2

Browse files
committed
Fix icon sizing in row spinner/abort states
1 parent c76eed3 commit 02bc0c2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/components/common/status-code.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ export const StatusCode = styled((props: {
4040
}
4141
</div>
4242
))`
43+
> svg {
44+
box-sizing: content-box;
45+
}
46+
4347
font-weight: bold;
4448
4549
display: flex;

src/components/view/view-event-list.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ const ConnectedSpinnerIcon = styled(Icon).attrs(() => ({
507507
title: 'Connected'
508508
}))`
509509
margin: 0 5px 0 0;
510+
box-sizing: content-box;
510511
`;
511512

512513
const RTCConnectionRow = observer(({

0 commit comments

Comments
 (0)