Hello! I had the same problem and managed to solve it. I'm not sure if this is going to work for you, but it's worth a try:
When you're going to export for web, go into the Options Tab, look for "Canvas Resize Policy" and make it "Adaptative". Hopefully, this may solve your problem.