overflow: "clip",
overflowClipMargin: "2px",
Use clip
instead of hidden
to gain access to the overflowClipMargin
. You can add a bit of margin that won't affect the element's layout, but will allow more of the content to be visible before overflow is hidden.