make DotButton content overflow & add depart styling

This commit is contained in:
axolotle
2021-06-28 13:05:26 +02:00
parent e2e99dc397
commit 21801c1cef
5 changed files with 50 additions and 8 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ export default {
if (a.authors[0].last_name > b.authors[0].last_name) return 1
return 0
}).reduce((dict, text) => {
const firstChar = text.authors ? text.authors[0].last_name[0].toUpperCase() : 'Pas de noms'
const firstChar = text.authors ? text.authors[0].last_name[0].toUpperCase() : '~'
if (!(firstChar in dict)) dict[firstChar] = []
dict[firstChar].push(text)
return dict