openui icon indicating copy to clipboard operation
openui copied to clipboard

downloaded html looks different from the preview

Open jiojiojackson opened this issue 10 months ago • 3 comments

the downloaded html looks different from the preview, as showed below. How can I solve this? download preview

jiojiojackson avatar Apr 25 '24 01:04 jiojiojackson

The generated HTML requires tailwindcss. See this issue with a description of how to wrap the HTML.

vanpelt avatar Apr 25 '24 02:04 vanpelt

I'm actually going to keep this open and figure out a way to make this clearer as you're not the only one having this issue.

vanpelt avatar Apr 25 '24 02:04 vanpelt

Good that you are keeping this open :) Something should be added in the readme for this until there is a fix in place. This isn't only an issue if you copy paste the generated code, but also if you use the download button. If this was only a copy paste problem it wouldn't be a biggie, but this will hinder most users from using the software.

ornell avatar May 13 '24 10:05 ornell

This is now fixed in master!

vanpelt avatar May 21 '24 00:05 vanpelt