mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 22:38:58 +00:00
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 b1aabbf174
)
This commit is contained in:
parent
45c0fa4905
commit
a904558380
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue