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

Commit f9f5ca6

Browse files
minor style updates to Leaderboard, Ballot, and BallotLeaders
1 parent 3afa009 commit f9f5ca6

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

src/components/Leaderboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="text-center">
33
<v-dialog v-model="dialog" width="500">
44
<template v-slot:activator="{ on, attrs }">
5-
<v-btn color="#fdc743" dark v-bind="attrs" v-on="on">
5+
<v-btn color="primary" dark v-bind="attrs" v-on="on" elevation="0">
66
See Full Leaderboard
77
</v-btn>
88
</template>

src/views/Voting/Ballot.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ export default {
9090
</script>
9191

9292
<style lang="scss" scoped>
93+
h2 {
94+
text-align: center;
95+
color: #0d1d41;
96+
font-family: "Barlow", sans-serif;
97+
font-weight: bold;
98+
margin-bottom: 12px;
99+
}
100+
93101
.ballot-wrapper {
94102
background-color: white;
95103
}

src/views/Voting/BallotLeaders.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/>
1919
</v-col>
2020
</v-row>
21-
<v-row justify="center" v-else>
21+
<v-row justify="center" v-else class="card-wrapper">
2222
<ballot-card
2323
v-for="(item, i) in pageData.items"
2424
:key="i"
@@ -145,4 +145,9 @@ h2 {
145145
font-weight: bold;
146146
margin-bottom: 12px;
147147
}
148+
149+
.card-wrapper {
150+
max-width: 1250px;
151+
margin: 0 auto;
152+
}
148153
</style>

0 commit comments

Comments
 (0)