Просмотр исходного кода

ref(ui): Improve alignment of replay network tab close (#49838)

Before
<img alt="clipboard.png" width="756"
src="https://i.imgur.com/sBLl25k.png" />

After
<img alt="clipboard.png" width="776"
src="https://i.imgur.com/2SjFE0I.png" />
Evan Purkhiser 1 год назад
Родитель
Сommit
e619ff6fac
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      static/app/views/replays/detail/network/details/index.tsx

+ 2 - 0
static/app/views/replays/detail/network/details/index.tsx

@@ -115,6 +115,8 @@ const CloseButtonWrapper = styled('div')`
   height: 100%;
   height: 100%;
   padding: ${space(1)};
   padding: ${space(1)};
   z-index: ${p => p.theme.zIndex.initial};
   z-index: ${p => p.theme.zIndex.initial};
+  display: flex;
+  align-items: center;
 `;
 `;
 
 
 const StyledSplitDivider = styled(SplitDivider)<{isHeld: boolean}>`
 const StyledSplitDivider = styled(SplitDivider)<{isHeld: boolean}>`