I'm trying to write a very minimal text app which is essentially a lightweight document…
- User
I'm trying to write a very minimal text app which is essentially a lightweight document editor. So, I've got the document parsed into a list of sentences, which I'm rendering each within a , inline display (so that there's still some text wrapping). One feature I'm trying to build is enabling the user to hover over a sentence to change the background color. But, I'm seeing that when doing that, there's a gap between the lines for a given sentence due to using
line-height: 1.6. This gap is making it so that when hovering over a sentence, the background color flickers due to accidentally hovering over the gap between the lines. Any suggestions on how to fix? Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.