From a9045583805c1e87882079e00ccf12e02d8b4746 Mon Sep 17 00:00:00 2001
From: Gusted <postmaster@gusted.xyz>
Date: Wed, 14 Feb 2024 23:01:35 +0100
Subject: [PATCH] Preview: set font-size on preview content

- Backport of #2349
- 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.

(cherry picked from commit b1aabbf174704d8ca27664a4ff133060f8c71ea9)
---
 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;
 }