Greenheart / pagecrypt

Password Protected Single Page Applications and HTML files
GNU Affero General Public License v3.0
242 stars 26 forks source link

Fix the CSS loading issue in latest test builds #37

Closed Greenheart closed 1 year ago

Greenheart commented 2 years ago

One issue is that the decrypt template is rendering in a weird way when loading the encrypted page. Seems like one of the SVGs is off, and might need styling in a way that doesn't cause the rendering glitch. This needs to be fixed before we can make a new release.

With a closer look, it seems like Vite is trying to move the inlined CSS and JS out into separate modules at dev or build time. That could be causing the CSS to show up later and thus causing the rendering issue. We need to check if this behavior can be disabled for the vite dev server or vite build.

While we're at it, it would be good to update dependencies too.

Greenheart commented 1 year ago

Might even consider using only the minimal CSS needed to keep this project as simple as possible. Including removing Tailwind CSS and its related dependencies.

Greenheart commented 1 year ago

This is most likely resolved with the 6.0.0 release