Replying to Avatar hodlbod

One request, could you enable CORS on the popup script? I'm trying to load it via dynamic import and getting `Access to script at 'https://nstart.me/modal.js' from origin 'http://localhost:1847' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.`

A couple other things:

- The font size is quite large when loaded in a popup, causing overflow/scrolling issues. Similarly, some screens show a big white section on the bottom if they're too short. Maybe adjust the font size if it's in a popup? Or use percents to control height? Screenshots below.

- `asf` isn't being applied in the popup version

Reply to this note

Please Login to reply.

Discussion

The white block is weird!

I will take a look asap.

"Large" fonts are a design choice, I like them better and I think they are more accessibile.

Reducing the font size it's not the solution for the scrolling, it's inevitable with this kind of design (see the initial form); of course minimizing it would be preferable. I'm thinking about a solution, but offering a setting for the font size is quite hard with Tailwind.

Instead I cannot reproduce the white block. Jumble works just fine (with the npm):

Tailwind uses rem, so if you want to globally affect the font size, that should be possible just by redefining the font-size of your html element.

Thanks for the advice, I will check that.

> - `asf` isn't being applied in the popup version

Fixed, use v2.1.0