diff --git a/v3/examples/contextmenus/assets/index.html b/v3/examples/contextmenus/assets/index.html index 0587a0d61..db6721e39 100644 --- a/v3/examples/contextmenus/assets/index.html +++ b/v3/examples/contextmenus/assets/index.html @@ -3,7 +3,7 @@ Title - + diff --git a/v3/examples/drag-n-drop/assets/index.html b/v3/examples/drag-n-drop/assets/index.html index 1ec2339dd..c5ac43d98 100644 --- a/v3/examples/drag-n-drop/assets/index.html +++ b/v3/examples/drag-n-drop/assets/index.html @@ -3,7 +3,7 @@ Title - +

Drag-n-drop Demo

diff --git a/v3/examples/events/assets/index.html b/v3/examples/events/assets/index.html index 20993e735..d8e0906ee 100644 --- a/v3/examples/events/assets/index.html +++ b/v3/examples/events/assets/index.html @@ -3,7 +3,7 @@ Title - +

Events Demo

diff --git a/v3/examples/plain/main.go b/v3/examples/plain/main.go index 3767400b3..6945bbe51 100644 --- a/v3/examples/plain/main.go +++ b/v3/examples/plain/main.go @@ -26,7 +26,7 @@ func main() { // Create window app.NewWebviewWindowWithOptions(application.WebviewWindowOptions{ Title: "Plain Bundle", - CSS: `body { background-color: rgba(255, 255, 255, 0); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; user-select: none; -ms-user-select: none; -webkit-user-select: none; } .main { color: white; margin: 20%; }`, + CSS: `body { background-color: rgb(255, 255, 255); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; user-select: none; -ms-user-select: none; -webkit-user-select: none; } .main { color: white; margin: 20%; }`, Mac: application.MacWindow{ InvisibleTitleBarHeight: 50, Backdrop: application.MacBackdropTranslucent, @@ -38,7 +38,7 @@ func main() { app.NewWebviewWindowWithOptions(application.WebviewWindowOptions{ Title: "HTML TEST", HTML: "

AWESOME!

", - CSS: `body { background-color: rgba(255, 0, 0, 255); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; user-select: none; -ms-user-select: none; -webkit-user-select: none; } .main { color: white; margin: 20%; }`, + CSS: `body { background-color: rgb(255, 0, 0); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; user-select: none; -ms-user-select: none; -webkit-user-select: none; } .main { color: white; margin: 20%; }`, JS: `window.iamhere = function() { console.log("Hello World!"); }`, }) diff --git a/v3/examples/wml/assets/index.html b/v3/examples/wml/assets/index.html index 582bb9fa2..c4a372ccf 100644 --- a/v3/examples/wml/assets/index.html +++ b/v3/examples/wml/assets/index.html @@ -4,7 +4,7 @@ Wails ML Demo - +

Wails ML Demo

This application contains no Javascript!