Improve display of websites not specifying background color

The `index.html` of the front-end specifies `#000` as background color,
however, it seems like various websites found 'in the wild' don't
specify their own background color and thus default to `transparent`. As
a result of this, they tend to become mostly unreadable when displayed
using `openWebsite` since they often assume that they get displayed on a
white background. Setting white as background color on the container
element of the `<iframe>` works around this issue.
This commit is contained in:
Manfred Stock 2021-02-01 22:12:32 +01:00
parent 3a046cb450
commit 0afbb5412e
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ body {
#cowebsite {
position: fixed;
transition: transform 0.5s;
background-color: white;
}
#cowebsite.loading {
background-color: gray;