mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 14:32:00 +08:00
example: environment - change css
text was colored white and therefore invisible.
This commit is contained in:
parent
735b6b6c87
commit
5a57ee99ac
@ -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>";
|
||||||
|
Loading…
Reference in New Issue
Block a user