5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 10:11:07 +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 { body {
padding-top: 75px; padding-top: 75px;
margin: 0 auto; margin: 0 auto;
color: white; background-color: white;
color: black;
text-align: -webkit-center; text-align: -webkit-center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif 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>"; html += "<tr><td>Debug</td><td>"+ result.Debug +"</td></tr>";
if(result.PlatformInfo) { if(result.PlatformInfo) {
for (let key in result.PlatformInfo) { for (let key in result.PlatformInfo) {
if (obj.hasOwnProperty(key)) {
html += "<tr><td>"+key+"</td><td>"+ result.PlatformInfo[key] +"</td></tr>"; html += "<tr><td>"+key+"</td><td>"+ result.PlatformInfo[key] +"</td></tr>";
}
} }
} }
html += "</table>"; html += "</table>";