eleven / ocho Public

CSS: remove duplicate background from code in pre blocks for my messages

James Adam 1b0f041d8a78c83bd8c4761bba02fcf3874b10fb parent c773779
1 file changed, +1 −0
  • web/static/style.css +1 −0
diff --git a/web/static/style.css b/web/static/style.css
index 272005c..1501367 100644
--- a/web/static/style.css
+++ b/web/static/style.css
@@ -347,6 +347,7 @@ input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: tr
line-height: 1.4;
}
.msg .bubble pre code { background: none; padding: 0; }
+.msg.me .bubble pre code { background: none; padding: 0; }
.msg.me .bubble pre { background: color-mix(in srgb, var(--bubble-me-ink) 22%, transparent); }
/* "> " blockquote — quiet left rule, slightly dimmed text */
.msg .bubble blockquote {