style(avis): use fr-badge for count instead of broken css
This commit is contained in:
parent
7dd3a42cd7
commit
71996af65b
5 changed files with 4 additions and 16 deletions
|
@ -74,18 +74,6 @@
|
|||
}
|
||||
|
||||
.list-avis {
|
||||
.count {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid $grey;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.one-avis {
|
||||
border-top: 1px solid $grey;
|
||||
padding: $default-padding 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
%section.list-avis
|
||||
%h1.tab-title
|
||||
Avis des invités
|
||||
%span.count= avis.count
|
||||
%span.fr-badge= avis.count
|
||||
|
||||
%ul
|
||||
- avis.each do |avis|
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
%section.list-avis.mt-8
|
||||
%h1.tab-title
|
||||
Messages envoyés précedemment
|
||||
%span.count= @bulk_messages.count
|
||||
%span.fr-badge= @bulk_messages.count
|
||||
|
||||
%ul
|
||||
- @bulk_messages.each do |message|
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
%section.list-avis
|
||||
%h1.tab-title
|
||||
Avis des invités
|
||||
%span.count= avis.count
|
||||
%span.fr-badge= avis.count
|
||||
|
||||
%ul
|
||||
- avis.each do |avis|
|
||||
|
|
|
@ -282,7 +282,7 @@
|
|||
%section.list-avis
|
||||
%h1.title
|
||||
Avis des invités
|
||||
%span.count 1
|
||||
%span.fr-badge 1
|
||||
|
||||
%ul
|
||||
%li.one-avis
|
||||
|
|
Loading…
Reference in a new issue