diff --git a/public/locale/i18n/fr/resource.json b/public/locale/i18n/fr/resource.json
index 4a26ee6..4332890 100644
--- a/public/locale/i18n/fr/resource.json
+++ b/public/locale/i18n/fr/resource.json
@@ -100,6 +100,7 @@
"Open" : "Ouvrir",
"Voting address" : "Adresse du vote",
"Results address" : "Adresse des résultats",
- "Share election Facebook" : "Partager le vote sur Facebook"
+ "Share election on Facebook" : "Partager le vote sur Facebook",
+ "Share results on Facebook" : "Partager ces résultats sur Facebook"
}
diff --git a/src/components/views/CreateSuccess.jsx b/src/components/views/CreateSuccess.jsx
index 23a4a3a..fcd6060 100644
--- a/src/components/views/CreateSuccess.jsx
+++ b/src/components/views/CreateSuccess.jsx
@@ -62,7 +62,7 @@ class CreateSuccess extends Component {
{this.props.invitationOnly ? null : (
diff --git a/src/components/views/Result.jsx b/src/components/views/Result.jsx
index 5d8f36e..a4bd76b 100644
--- a/src/components/views/Result.jsx
+++ b/src/components/views/Result.jsx
@@ -15,6 +15,7 @@ import {
import { i18nGrades } from "../../Util";
import { AppContext } from "../../AppContext";
import { errorMessage, Error } from "../../Errors";
+import Facebook from "../banner/Facebook";
class Result extends Component {
static contextType = AppContext;
@@ -185,21 +186,12 @@ class Result extends Component {
- {this.state.title}
+ {this.state.title}
-
- {t("Results of the election:")}
-
-
- {t("Number of votes:")}
- {" " + numVotes}
-
-
-
-
+
{candidates.map((candidate, i) => {
const gradeValue = candidate.grade + offsetGrade;
return (
@@ -223,6 +215,12 @@ class Result extends Component {
);
})}
+
+
+ {t("Number of votes:")}
+ {" " + numVotes}
+
+
@@ -403,6 +401,16 @@ class Result extends Component {
+
+
+
+
+
);
}
diff --git a/src/scss/_app.scss b/src/scss/_app.scss
index 7bb8e0b..865b3c1 100644
--- a/src/scss/_app.scss
+++ b/src/scss/_app.scss
@@ -305,7 +305,7 @@ li.sortable {
.median {
border-width: 0 3px 0 0;
border-style: dashed;
- border-color: $mv-blue-color;
+ border-color: #000;
min-height: 30px;
width: 1px;
position: absolute;
@@ -337,3 +337,21 @@ li.sortable {
.flag-select__options .flag-select__option__icon {
top: 0;
}
+
+/** result **/
+ol.result > li{
+ font-size:1rem;
+ font-weight:normal;
+}
+ol.result > li:nth-child(1){
+ font-size:1.75rem;
+ font-weight:bold;
+}
+
+ol.result > li:nth-child(2){
+ font-size:1.5rem;
+}
+
+ol.result > li:nth-child(3){
+ font-size:1.25rem;
+}
\ No newline at end of file