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
{{ message }}
Repository navigation
box-shadow on fraction bars and sqrt overlines is clipped by overflow:hidden containers #2980
Description:
When applying a text shadow effect to a math-field using the CSS custom property --text-shadow, the shadow appears correctly on text content but is severely clipped on horizontal lines (fraction bars and sqrt overlines). This happens because these lines are contained within elements that have overflow: hidden, cutting off the box-shadow to the element's 1px height. Steps to Reproduce:
Expected Behavior:
All elements including fraction bars and sqrt overlines should display the full, unobscured shadow with the specified blur radius. Actual Behavior:
Text characters render the shadow correctly.
Fraction bars and sqrt overlines show only a faint 1px "ghost" line instead of the full shadow (see attached screenshot).
The shadow is clipped by the overflow: hidden property on parent containers (.ML__frac, .ML__sqrt). Root Cause Analysis:
In the MathLive CSS (core.css), the line elements use:
Activity