about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-30 14:29:24 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:16 -0500
commitf4a554511251db7333d47f3e915905a5b83515bf (patch)
treee2557eafd76330958ca9c196a44b1698457fa0ea /app/javascript/flavours
parent615b9418672de9b6b8fbfe52b1e4ab121847125e (diff)
[UI] Remove background of code nested in pre
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
index 830997934..2b822fdec 100644
--- a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
+++ b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
@@ -129,6 +129,9 @@
     background-size: 100% 2px;
   }
   pre {
+    & > code {
+      background: transparent;
+    }
     padding: 10px;
     border: 2px solid darken($ui-base-color, 20%);
   }