You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take padding into account when calculating lineheight
The helper function getLineHeight calculates the height of a
contextmenu entry by mocking two entries and divide the height
of the container by two.
But this does not take the padding of the container into account.
Padding must be substracted from the offsetHeight.
0 commit comments