Hi Murray,
Thank you again for the detailed reply, it truly is appreciated.
Unfortunately, your solution does not fix the issue. I've included different expressions in the below fiddle that should better highlight this.
Without the CSS, the two bottom expressions are of similar length.
-------------------------------------------------------
-------------------------------------------------------
With the CSS turned on, the bottom expression still has no scrollbar whereas the other expression has a very large one.
-------------------------------------------------------
-------------------------------------------------------
Any attempt to remove the scrollbar using the methods that you've described results in large gaps in both expressions.
-------------------------------------------------------
-------------------------------------------------------
The issue is obviously the whitespace created by the CSS below (highlighted in yellow), but I have no idea 1) why it exists and 2) why it's created for the first expression and not the second.
-------------------------------------------------------
-------------------------------------------------------
I feel like there is likely a simple solution to this, e.g. that I should be using something other than display: inline-grid, but I haven't been able to figure out that solution.
Also, as mentioned previously, I'm still quite confused as to why I can't find any other threads about dealing with long inline expressions anywhere? I feel like I'm missing something obvious!
Any thoughts?
Thank you again for your help! :)