Weird rendering issues for Github's website when resizing window

So, on Github if I resize Brave window I see some the rendering is completely messed up.

Steps to reproduce:

  1. Open Github and resize the window.
  2. The page glitches when the width of the window is 994. Here is the output of xwininfo.
  Absolute upper-left X:  47
  Absolute upper-left Y:  579
  Relative upper-left X:  13
  Relative upper-left Y:  33
  Width: 994
  Height: 1014
  Depth: 32
  Visual: 0x82
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x4200003 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +47+579  -3039+579  -3039-327  +47-327
  -geometry 994x1014+47+579

System info:
Operating System: Void Linux void 6.12.7_1 #1 SMP PREEMPT_DYNAMIC Sat Dec 28 21:32:24 UTC 2024 x86_64 GNU/Linux
Display Server: Xorg
Brave Version: 1.73.101 Chromium 131.0.6778.139 (Official Build) unknown (64-bit). My distro has no official packages, I got this build from Github releases page.
Installed extensions: (Nothing that affects Github) Legacy Wikipedia, linkding extension, linkding injector, privacy badger and sponsorblock.

Video of bug in action: https://files.catbox.moe/ldc6u0.mp4