gristlabs / grist-static

Showing Grist spreadsheets on a static website, without a special backend.
https://gristlabs.github.io/grist-static/
Apache License 2.0
82 stars 0 forks source link

Improve styling of CSV Viewer popup, and fix instructions in README #27

Closed dsagal closed 1 year ago

dsagal commented 1 year ago

Made popup look a little more consistent with design of other Grist components: slightly smaller margins, rounded corners, shadows, updated "Powered by Grist" text and link; made link open in a new tab.

Before and after: Screen Shot 2023-08-25 at 23 11 19 Screen Shot 2023-08-25 at 23 11 34

dsagal commented 1 year ago

I see that artifact too, but can't get rid of it. Placing the iframe in a div with rounded corners produces the same effect. I think it's something imprecise about the browser's implementation -- it looks like it's not just clipping, but translating the rounded corners to inside the iframe and messing up slightly (the extra color comes from other layers in the iframe).

paulfitz commented 1 year ago

This change has been deployed.