fix: tooltip padding

This commit is contained in:
Felix Roos 2023-12-29 15:03:36 +01:00
parent ea8aabceed
commit 89bf3b2817

View File

@ -11,7 +11,7 @@ const getInnerText = (html) => {
};
export function Autocomplete({ doc, label }) {
return h`<div class="prose dark:prose-invert max-h-[400px] overflow-auto">
return h`<div class="prose dark:prose-invert max-h-[400px] overflow-auto p-2">
<h1 class="pt-0 mt-0">${label || getDocLabel(doc)}</h1>
${doc.description}
<ul>