From b298a9946e133da036a43406f7c16a227ce62091 Mon Sep 17 00:00:00 2001 From: Settel Date: Sun, 15 Aug 2021 22:04:24 +0200 Subject: [PATCH] Sources layout --- client/src/components/Play.vue | 19 +++------- client/src/components/Quote.vue | 13 ++++++- client/src/components/Sources.vue | 62 +++++++++++++++++++++++++++++++ client/src/pages/play.vue | 25 ++++++++++--- 4 files changed, 100 insertions(+), 19 deletions(-) create mode 100644 client/src/components/Sources.vue diff --git a/client/src/components/Play.vue b/client/src/components/Play.vue index 34de5c4..901eb44 100644 --- a/client/src/components/Play.vue +++ b/client/src/components/Play.vue @@ -1,8 +1,7 @@ @@ -15,6 +14,9 @@ export default { quote() { return this.$store.state.round.quote }, + sources() { + return this.$store.state.round.sources + }, }, } @@ -31,16 +33,7 @@ body, .play { position: relative; + width: 100%; height: 100%; - - &__quote-container { - display: flex; - position: absolute; - left: 35%; - top: 35%; - width: 30%; - height: 30%; - align-items: center; - } } diff --git a/client/src/components/Quote.vue b/client/src/components/Quote.vue index 4482894..89c6d5b 100644 --- a/client/src/components/Quote.vue +++ b/client/src/components/Quote.vue @@ -1,6 +1,8 @@ @@ -12,6 +14,15 @@ export default { diff --git a/client/src/pages/play.vue b/client/src/pages/play.vue index ffb5457..2df25c6 100644 --- a/client/src/pages/play.vue +++ b/client/src/pages/play.vue @@ -1,12 +1,16 @@ @@ -31,6 +35,17 @@ export default {