mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 18:19:36 +08:00
fix vanilla template for windows
This commit is contained in:
parent
214fcf03b9
commit
1e1834158b
@ -11,7 +11,7 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
width:100%;
|
width:100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 3rem;
|
margin-top: 1rem;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.result {
|
.result {
|
||||||
margin-top: 3rem;
|
margin-top: 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ function start() {
|
|||||||
mystore.set(newValue);
|
mystore.set(newValue);
|
||||||
};
|
};
|
||||||
|
|
||||||
mystore.subscribe( (state) => {
|
mystore.subscribe( function(state) {
|
||||||
document.getElementById('counter').innerText = state;
|
document.getElementById('counter').innerText = state;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user