mimicking the css fix for demos