Browse Source

fix(profiling): dont stretch columns (#67168)

if count of columns is smaller than max count, the columns vertically
stretch to fit - disable this.
Jonas 11 months ago
parent
commit
aeb6da8ff8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      static/app/views/profiling/landing/slowestFunctionsWidget.tsx

+ 2 - 2
static/app/views/profiling/landing/slowestFunctionsWidget.tsx

@@ -392,8 +392,8 @@ const FunctionName = styled(TextOverflow)`
 const TransactionsList = styled('div')`
   flex: 1 1 auto;
   display: grid;
-  grid-template-columns: minmax(0, 1fr) auto auto auto;
-  grid-template-rows: 18px auto auto auto auto auto;
+  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
+  grid-template-rows: 18px repeat(5, min-content);
   column-gap: ${space(1)};
   padding: ${space(0)} ${space(2)};
 `;