in the end maybe it's for the best to keep them on multiple lines

This commit is contained in:
Mattia Mascarello 2024-06-06 16:26:47 +02:00
parent e5e18b2a0d
commit b5451bd76f

View File

@ -26,10 +26,6 @@
line-height: 1.5em; line-height: 1.5em;
font-family: Helvetica, Arial, sans-serif; font-family: Helvetica, Arial, sans-serif;
} }
.namepart {
white-space: nowrap;
}
</style> </style>
</head> </head>
@ -144,12 +140,9 @@
let nameparts = name.split(' '); let nameparts = name.split(' ');
let fullname = ""; let fullname = "";
nameparts.forEach(function (namepart, index) { nameparts.forEach(function (namepart, index) {
fullname += '<span class="namepart">' + namepart + '</span> '; fullname += '<span class="namepart">' + namepart + '</span> ';
}); });
signatures.innerHTML += "<b>" + fullname + '</b>'; signatures.innerHTML += "<b>" + fullname + '</b><br />';
if (index < names.length - 1) {
signatures.innerHTML += ', ';
}
}); });
let anon = data.anon; let anon = data.anon;
if (anon > 0) { if (anon > 0) {