From 1b9c669ae3d16d8fcaaa6977d558e420e7bdfc03 Mon Sep 17 00:00:00 2001 From: Le Libre Au Quotidien Date: Thu, 3 Oct 2019 11:52:26 +0200 Subject: [PATCH] Add round to buttons on vote-choice --- .../vote-choice/vote-choice.component.html | 11 ++++++++--- .../vote-choice/vote-choice.component.scss | 19 ++++++++++++------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/app/vote-choice/vote-choice.component.html b/src/app/vote-choice/vote-choice.component.html index ef5aae72..8ba6808b 100644 --- a/src/app/vote-choice/vote-choice.component.html +++ b/src/app/vote-choice/vote-choice.component.html @@ -21,26 +21,31 @@

{{choice.votesCount.maybe}}

- -

{{choice.votesCount.no}}

-
+

{{choice.votesCount.notAnswered}}

+ + +
+ diff --git a/src/app/vote-choice/vote-choice.component.scss b/src/app/vote-choice/vote-choice.component.scss index 5a54c4bd..a90fe213 100644 --- a/src/app/vote-choice/vote-choice.component.scss +++ b/src/app/vote-choice/vote-choice.component.scss @@ -5,11 +5,10 @@ overflow: auto; display: flex; } -#vote img{ - /* -border: 1px solid #aeafb1; -border-radius: 48px; -*/ +.vote img{ + vertical-align: middle; + text-align: center; + } h2, h3 { @@ -21,13 +20,19 @@ span { font-size: 24px; } -#nombre_vote { +.nombre_vote { vertical-align: middle; float: left; } // TODO intricate selectors -#nombre_vote p { +.nombre_vote p { line-height: 20px; } +.vote button{ +border: 1px solid #aeafb1;; +border-radius: 50%; +width:48px; +height: 48px; +}