mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 18:04:14 +01:00
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.
This commit is contained in:
parent
56f161167a
commit
b1aabbf174
1 changed files with 4 additions and 0 deletions
|
@ -153,6 +153,10 @@
|
||||||
min-height: 168px;
|
min-height: 168px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comment-code-cloud .ui.tab.markup {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.comment-code-cloud .ui.tabular.menu {
|
.comment-code-cloud .ui.tabular.menu {
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue