ArthurHub / ArthurHub/HTML-Renderer

Line Height not calculated correctly inside a div

Open
#153 0 comments 0 reactions 0 assignees View on GitHub
bug CSS
Dominant language
C#
Stars
1.4k
Forks
550
Avg merge
14d 9h
Merged PRs (30d)
1

Description

When creating a div with the follow class:
`.divClass{
height: 40px;
line-height: 40px;
}`
The text inside the div should appear to be centered vertically. Currently in HTML-Renderer it renders the text at the very top and only applies the line-height to the next line.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.