From 47c1737371bbbeecce20eec2a8e75bc1d3ee40da Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 16 Jul 2021 16:28:03 +0200 Subject: [PATCH] make styling like element --- src/platform/web/ui/css/themes/element/timeline.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/platform/web/ui/css/themes/element/timeline.css b/src/platform/web/ui/css/themes/element/timeline.css index ddbeabc4..07384aec 100644 --- a/src/platform/web/ui/css/themes/element/timeline.css +++ b/src/platform/web/ui/css/themes/element/timeline.css @@ -214,9 +214,18 @@ only loads when the top comes into view*/ /* don't stretch height as it is a spacer, just in case it doesn't match with image height */ align-self: start; } +.Timeline_messageBody code, .Timeline_messageBody pre { + background-color: #f8f8f8; + font-family: monospace; +} + +.Timeline_messageBody code { + border-radius: 3px; + padding: .2em .3em; + margin: 0; +} .Timeline_messageBody pre { - background-color: #f7f7f7; border: 1px solid rgb(229, 229, 229); padding: 10px; }