Fix alignment of suggestions on overflow

This commit is contained in:
mark
2023-01-08 11:07:30 +01:00
parent 8d9f9126ba
commit d6931e08b0

View File

@@ -142,6 +142,7 @@ Source:
entry.appendChild(a); entry.appendChild(a);
const title = document.createElement('span'); const title = document.createElement('span');
title.classList.add('text-start');
title.textContent = doc.title; title.textContent = doc.title;
title.classList.add("suggestion__title"); title.classList.add("suggestion__title");
a.appendChild(title); a.appendChild(title);