Browse Source

replay(feat): Add padding around the page when Replay Video is in fullscreen (#38753)

Before:
![before](https://user-images.githubusercontent.com/187460/189976934-0c7d5535-fabd-4892-a959-5d7b022e14aa.jpg)

After:
![after](https://user-images.githubusercontent.com/187460/189976943-b7f208c4-618b-4fb6-810e-7532657308f8.jpg)
Ryan Albrecht 2 years ago
parent
commit
58242e3c59
1 changed files with 4 additions and 0 deletions
  1. 4 0
      static/app/views/replays/detail/layout/index.tsx

+ 4 - 0
static/app/views/replays/detail/layout/index.tsx

@@ -187,6 +187,10 @@ const VideoSection = styled(FluidHeight)`
 
   background: ${p => p.theme.background};
   gap: ${space(1)};
+
+  :fullscreen {
+    padding: ${space(1)};
+  }
 `;
 
 export default ReplayLayout;