Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix line height on inline code preview (#30372) (#30385)
Backport #30372 by @silverwind Fixes go-gitea/gitea#30353. I don't know what causes `code-inner` to not inherit `line-height` from its direct parent `.lines-code` but instead from grandparent `.markup` even thought MDN tells me it's [inherited](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height#formal_definition). This causes no negative impact on other code views, so I think it's the best solution. Co-authored-by: silverwind <me@silverwind.io> (cherry picked from commit 88b3d192a0663bd5f25ffa07af45179bac755150)
- Loading branch information