1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-25 03:30:30 +02:00

Better tooltips and icons

This commit is contained in:
Alexandre Iooss
2020-04-10 22:22:07 +02:00
parent 57226a0733
commit 64499b65bb
3 changed files with 11 additions and 3 deletions

View File

@ -86,7 +86,7 @@ function getMatchedNotes(pattern, fun) {
* Generate a <li> entry with a given id and text
*/
function li(id, text, extra_css) {
return "<li class=\"list-group-item py-1 d-flex justify-content-between align-items-center " + extra_css + "\"" +
return "<li class=\"list-group-item p-1 text-truncate " + extra_css + "\"" +
" id=\"" + id + "\">" + text + "</li>\n";
}