Repository navigation
fix(search): increase .meta class line-height to 1.43em - #1037
mihai-dev2000 wants to merge 1 commit into
Conversation
zzacharo
left a comment
There was a problem hiding this comment.
@mihai-dev2000 thanks for the fix! Can you check where the rules comes from for the description field? I think the fix make sense to be upstreamed.
The
The broken |
|
Closed to be fix in upstream with this PR: inveniosoftware/invenio-app-rdm#3623 |

Addressing Issue #923
Root cause: Clamp boxes use line-height: 1em (14px) at font-size: 14px. Served fonts fit, but several Linux substitutes (DejaVu Sans, Noto Sans, Nimbus Sans, ...) which are a bit taller and causes ~3px overflow and glyph (word) clipping.
Fix:
increased
.metaclass line height to 1.43em to cover all kind of fonts ( small and tall).Also I noticed
.descriptionclass line height is already set to 1.4285em, I think that's why the clipped description doesn't appears: