mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
update vanilla template
This commit is contained in:
parent
0dc0762fdf
commit
8fd77148ca
2 changed files with 9 additions and 10 deletions
|
|
@ -6,19 +6,19 @@ html {
|
|||
|
||||
body {
|
||||
color: white;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 3rem;
|
||||
#result {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
#logo {
|
||||
width: 50%;
|
||||
height: 50%;
|
||||
margin-top: 50px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-top: 50px;
|
||||
margin: auto;
|
||||
display: block;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
|
|
|
|||
|
|
@ -16,11 +16,10 @@ func main() {
|
|||
app := NewBasic()
|
||||
|
||||
err := wails.Run(&options.App{
|
||||
Title: "{{.ProjectName}}",
|
||||
Width: 800,
|
||||
Height: 600,
|
||||
MinWidth: 800,
|
||||
MinHeight: 600,
|
||||
Title: "{{.ProjectName}}",
|
||||
Width: 800,
|
||||
Height: 600,
|
||||
DisableResize: true,
|
||||
Mac: &mac.Options{
|
||||
WebviewIsTransparent: true,
|
||||
WindowBackgroundIsTranslucent: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue