epub paragraph shading
Exporting a reflowable epub, and while I have discovered that epubs will not retain paragraph shading styles how I want, I can't get the workaround right.
For context this is my InDesign file:

I would like to have a section of text called out with shading. I've inserted the paragraph as an anchored object and set up object styles for the text box to have a fill color. I also set up the epub/html settings to export this at full width:

But my epub is coming out like this:

The text is reflowable, but running of the page in the epub file.
Any ideas on how to fix this?? Is the anchored object/object styles not the best work around for shading? I'm working only in InDesign, not much CSS knowledge otherwise.
Appreciate any help!
