5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 21:30:39 +08:00

example: environment - change css

text was colored white and therefore invisible.
This commit is contained in:
Travis McLane 2024-04-23 12:37:28 -05:00
parent 735b6b6c87
commit 5a57ee99ac

View File

@ -7,7 +7,8 @@
body {
padding-top: 75px;
margin: 0 auto;
color: white;
background-color: white;
color: black;
text-align: -webkit-center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif
}
@ -54,9 +55,7 @@
html += "<tr><td>Debug</td><td>"+ result.Debug +"</td></tr>";
if(result.PlatformInfo) {
for (let key in result.PlatformInfo) {
if (obj.hasOwnProperty(key)) {
html += "<tr><td>"+key+"</td><td>"+ result.PlatformInfo[key] +"</td></tr>";
}
}
}
html += "</table>";