Browse Source

fix(profiling): drop default focus border (#42011)

The `:focus` state which occured when clicking the chart caused a tiny
blue border all around the canvas.
Jonas 2 years ago
parent
commit
04034acf1f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      static/app/components/profiling/flamegraphZoomView.tsx

+ 4 - 0
static/app/components/profiling/flamegraphZoomView.tsx

@@ -828,6 +828,10 @@ const Canvas = styled('canvas')`
   height: 100%;
   user-select: none;
   position: absolute;
+
+  &:focus {
+    outline: none;
+  }
 `;
 
 // loosely based spreadsheet navigation