tobychui / arozos

Web Desktop Operating System for low power platforms, Now written in Go!
https://os.aroz.org
GNU General Public License v3.0
2.01k stars 144 forks source link

Fix background border #165

Closed dr-wolf closed 4 months ago

dr-wolf commented 5 months ago

If img does not have src propertry browser always surrounds it with an ugly gray border. Adding a one-pixel transparent gif as a src solves this problem.

tobychui commented 4 months ago

@dr-wolf What browser you are using and do you have any screenshots for your "before and after" comparison? As on my PC and phone, it seems there are no such "border" issues, or maybe I overlooked something?

dr-wolf commented 4 months ago

Tested on latest Google Chrome (126.0.6478.127 at the moment). no-patch with-patch Notice the border around the desktop, this also appears on older chrome and other blink based browsers.