diff --git a/sass/ma-collection.scss b/sass/ma-collection.scss index d605709..9bfa611 100644 --- a/sass/ma-collection.scss +++ b/sass/ma-collection.scss @@ -43,5 +43,22 @@ img { border: 2px solid #4a4a4a; } + + .items { + span { + margin-right: 0.6rem; + + &::after { + content: ","; + } + + &:last-child { + &::after { + margin-right: 0; + content: ""; + } + } + } + } } } \ No newline at end of file diff --git a/views/pages/mon-compte/ma-collection.ejs b/views/pages/mon-compte/ma-collection.ejs index 257f0ea..5b265b6 100644 --- a/views/pages/mon-compte/ma-collection.ejs +++ b/views/pages/mon-compte/ma-collection.ejs @@ -4,7 +4,7 @@ - <% + <% for (let i = 0; i < page.formats.length; i += 1 ) { __append(``); } @@ -47,11 +47,11 @@
Pays : {{ item.country }}
- Format : {{ format.name }} + Format : {{ format.name }}
- Genre : {{ genre }} + Genre : {{ genre }}
- Style : {{ style }} + Style : {{ style }}