Padding for air around elements.

This commit is contained in:
2020-09-06 14:33:45 +02:00
parent 55b3552786
commit c1f0a1b7f3

View File

@@ -62,11 +62,9 @@ export default {
this.name = winnerObject.name; this.name = winnerObject.name;
const _wines = await fetch("/api/wines/prelottery"); const _wines = await fetch("/api/wines/prelottery");
this.wines = await _wines.json(); this.wines = await _wines.json();
console.log(this.wines);
}, },
methods: { methods: {
chosenWine: async function(name) { chosenWine: async function(name) {
console.log("chosen a wine");
let posted = await postWineChosen(this.id, name); let posted = await postWineChosen(this.id, name);
console.log("response", posted); console.log("response", posted);
if (posted.success) { if (posted.success) {
@@ -82,7 +80,8 @@ export default {
.container { .container {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-top: 4rem; margin-top: 2rem;
padding: 2rem;
} }
.sent-container { .sent-container {
width: 100%; width: 100%;