oliyh / kamera

UI testing via image comparison and devcards
89 stars 7 forks source link

resize-to-contents weirdness #34

Open jleonard-r7 opened 3 years ago

jleonard-r7 commented 3 years ago

on mac (chrome), it does resize to near contents (in my case, the bottom edge is barely cutoff). but on linux (chrome), it is cutoff by at least 10% (on the same edge).

oliyh commented 3 years ago

Hi,

I have been using it on Linux and I think it seems to work fine. I guess this is related to #29 ? What version of Chrome are you using?

jleonard-r7 commented 3 years ago

No, it’s not relayed to #29 as our code didn’t change between the two platforms. It’s just a situation where we take the codes we normally run on Mac and then run them on Linux and the screenshots are not resized larger (in either direction) to fit the contents.