From b1aabbf174704d8ca27664a4ff133060f8c71ea9 Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 14 Feb 2024 23:01:35 +0100 Subject: [PATCH] Preview: set font-size on preview content - When previewing the content in a review, no font size was set. This resulted in the previewed content being bigger than other text and therefor creating an noticable inconsistency. - Set the font size of the previewed content, 14px, this is consistent with how the content would be rendered. - `comment-code-cloud` is the class used for the review boxes. `.ui.tab.markup` means it only applies to the preview tab. --- web_src/css/review.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web_src/css/review.css b/web_src/css/review.css index 5336775547..62da25b209 100644 --- a/web_src/css/review.css +++ b/web_src/css/review.css @@ -153,6 +153,10 @@ min-height: 168px; } +.comment-code-cloud .ui.tab.markup { + font-size: 14px; +} + .comment-code-cloud .ui.tabular.menu { margin: 0.5em; }