Skip to content

Commit b1aabbf

Browse files
committed
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.
1 parent 56f1611 commit b1aabbf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web_src/css/review.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@
153153
min-height: 168px;
154154
}
155155

156+
.comment-code-cloud .ui.tab.markup {
157+
font-size: 14px;
158+
}
159+
156160
.comment-code-cloud .ui.tabular.menu {
157161
margin: 0.5em;
158162
}

0 commit comments

Comments
 (0)