Browse Source

fix(ui): linked issue flex fix (#33357)

Robin Rendle 2 years ago
parent
commit
812244fac3

+ 4 - 0
static/app/components/issueSyncListElement.tsx

@@ -96,6 +96,10 @@ class IssueSyncListElement extends React.Component<Props> {
                 display: flex;
                 align-items: center;
                 min-width: 0; /* flex-box overflow workaround */
+
+                svg {
+                  flex-shrink: 0;
+                }
               `}
               header={this.props.hoverCardHeader}
               body={this.props.hoverCardBody}

+ 1 - 0
static/app/components/sentryAppComponentIcon.tsx

@@ -31,4 +31,5 @@ const SentryAppAvatarWrapper = styled('span')<{isDark: boolean; isDefault: boole
   color: ${({isDark}) => (isDark ? 'white' : 'black')};
   filter: ${p => (p.isDark && !p.isDefault ? 'invert(1)' : 'invert(0)')};
   line-height: 0;
+  flex-shrink: 0;
 `;