diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index 56e330a9bc0aa5dfc3a5aa7d7a42350bd45985d0..dee0352d442a5aaf256a3e8e0b1a43946eac1d00 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -210,7 +210,7 @@
     // to make it work in both light and darkmode.
     background-color: var(--gl-color-neutral-0);
 
-    table:not(.code) {
+    > table:not(.code) {
       display: table;
       overflow-x: initial;
       mix-blend-mode: multiply;