Closed tinmarr closed 11 months ago
Thanks for the report, could you also test this in epiphany (also known as "gnome web")? It's a browser using webkitgtk which we use for tauri's webview on Linux.
Also, did you try a css reset? Would be a bit weird if it also affects px values but just to be sure.
Looks like this is a webkitgtk problem... Maybe even a config issue on my end. Any ideas on your end?
(closing cuz this is clearly not a Tauri issue)
Describe the bug
Using pixel values in CSS gives different sizing in the Tauri webview vs. Chromium-based browser (Brave in my case).
Here is the source code:
styles.css
(loaded through Vue.js)
Using rem or % works as intended, however this can't be a work around because many CSS libraries using hard coded px. (Bootstrap, Tailwind, etc)
Reproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response