Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

style VotingOver, fix width in QuizScroll #247

Merged
merged 2 commits into from
May 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/QuizScroll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default {

<style lang="scss" scoped>
.quiz-scroll {
width: 550px;
max-width: 550px;
display: flex;
margin: 30px 0;
padding: 10px 0;
Expand Down
43 changes: 18 additions & 25 deletions src/views/Voting/VotingOver.vue
Original file line number Diff line number Diff line change
@@ -1,41 +1,34 @@
<template>
<v-container>
<v-row>
<v-col class="inside-div">
<h2 class="ballot-header">
Voting is over!
</h2>
<QuizScroll class="scroll">
<template v-slot:title>
Voting Level Complete
</template>
<template v-slot:default>
<p>
Please check back soon for the results.
Congratulations to the top 10 students with the most votes! Thank you
everyone for participating. Finalists will receive a notification and
your code will be reviewed by the Galactic Wizard Panel on May 10-13.
Our grand prize winner will be announced May 14.
</p>
</v-col>
</v-row>
<Leaderboard />
</template>
</QuizScroll>
</v-container>
</template>

<script>
// TODO: this and VoteWoah should be a single component with props
import Leaderboard from "@/components/Leaderboard";
import QuizScroll from "@/components/QuizScroll";
export default {
name: "VotingWoah"
name: "VotingOver",
components: { Leaderboard, QuizScroll }
};
</script>

<style lang="scss" scoped>
.inside-div {
background: gray;
}

h2 {
text-align: center;
color: #0d1d41;
font-family: "Barlow", sans-serif;
font-weight: bold;
margin-bottom: 12px;
}

p {
text-align: center;
color: #0d1d41;
font-family: "Barlow", sans-serif;
.scroll {
margin: 0 auto;
}
</style>