Browse Source

ref(ui): Vertically align empty release bundles warning (#46792)

I just had to. Before/after:

<img width="146" alt="image"
src="https://user-images.githubusercontent.com/1523305/229552087-313f91ea-cbf5-4415-8ab3-b04f7c179856.png">
Kamil Ogórek 1 year ago
parent
commit
b3f142942a
1 changed files with 7 additions and 1 deletions
  1. 7 1
      static/app/views/settings/projectSourceMaps/projectSourceMaps.tsx

+ 7 - 1
static/app/views/settings/projectSourceMaps/projectSourceMaps.tsx

@@ -72,7 +72,9 @@ function SourceMapsTableRow({
       <ArtifactsTotalColumn>
         {isEmptyReleaseBundle ? (
           <Tooltip title={t('No bundle connected to this release')}>
-            <IconWarning color="warning" size="sm" />
+            <IconWrapper>
+              <IconWarning color="warning" size="sm" />
+            </IconWrapper>
           </Tooltip>
         ) : (
           <Count value={fileCount} />
@@ -408,3 +410,7 @@ const ActionsColumn = styled(Column)`
 const SearchBarWithMarginBottom = styled(SearchBar)`
   margin-bottom: ${space(3)};
 `;
+
+const IconWrapper = styled('div')`
+  display: flex;
+`;