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
Nevermind [facepalm] I didn't see the recommendation by @egbit in #75 - sorry about that.
The css padding in my list items was causing the plugin to miscalculate. After wrapping the inner text with a span the plugin was able to work perfectly.
MaisonDeVolonte
changed the title
Plugin balances text but calculates width incorrectly (regardless of html structure and/or css)
Padding causes plugin to miscalculate width for some elements
Sep 20, 2020
Expected Behaviour
Plugin should calculate width of elements including margin/padding
Actual Behaviour
calculates it slightly wider than the actual size
Workaround
wrapping the inner text in a span works
Example
The text was updated successfully, but these errors were encountered: