Skip to main content
Question

Line Height Problem?

  • May 9, 2023
  • 3 replies
  • 1873 views

Dominik_Nowakowski

I came across a problem. Figma in the inspect tab gives different percentages for line height. When CSS is selected it shows the value A and when switching to Table it shows the value B. Below are examples.

Is this a bug or something I don’t understand?
Zrzut ekranu 2023-05-9 o 14.02.43
Zrzut ekranu 2023-05-9 o 14.02.36

This topic has been closed for replies.

3 replies

Dominik_Nowakowski

Bump. Please answer.


Hi Dominik,

go to your Text editor panel and change line-hight from % to px. It must be in % that’s why you are getting 109% in CSS.


Dominik_Nowakowski

The line height is default set by px as you can see on the second screen (that’s why Figma tells me identical to box height or 133%) but in table it shows 109% which is confusing for developers.