Browse Source

fix(issues): Add padding to stacktrace key/values (#39380)

Scott Cooper 2 years ago
parent
commit
8df43790cf

+ 1 - 12
static/app/components/events/interfaces/frame/context.tsx

@@ -138,18 +138,7 @@ const Context = ({
 export default withOrganization(Context);
 
 const StyledClippedBox = styled(ClippedBox)`
-  margin-left: 0;
-  margin-right: 0;
-  &:first-of-type {
-    margin-top: 0;
-  }
-  :first-child {
-    margin-top: -${space(3)};
-  }
-  > *:first-child {
-    padding-top: 0;
-    border-top: none;
-  }
+  padding: 0;
 `;
 
 const StyledIconFlag = styled(IconFlag)`

+ 3 - 2
static/less/group-detail.less

@@ -491,8 +491,9 @@ div.traceback > ul {
           border-bottom: 1px solid @trim !important;
 
           &.key {
-            width: 125px;
-            max-width: 125px;
+            width: 145px;
+            max-width: 145px;
+            padding-left: 20px !important;
           }
 
           &.value pre {