diff --git a/src/components/editor/common/link.ts b/src/components/editor/common/link.ts index 85563cb..70f4add 100644 --- a/src/components/editor/common/link.ts +++ b/src/components/editor/common/link.ts @@ -70,7 +70,7 @@ export const createLinkNodeHTML = (attrs: LinkAttributes): HTMLElement => { summaryElement.textContent = attrs.summary; const urlElement = document.createElement('p'); - urlElement.className = 'mt-[9px] text-[12px] text-sky-600 no-underline truncate'; + urlElement.className = 'text-[12px] mt-[9px] text-sky-600 no-underline truncate'; urlElement.textContent = formattedUrl; textWrapper.appendChild(titleElement); @@ -128,7 +128,7 @@ export const createLinkNodeHTML = (attrs: LinkAttributes): HTMLElement => { const urlElement = document.createElement('p'); urlElement.className = - 'mt-[9px] text-sky-600 text-[13px] no-underline truncate'; + 'text-[12px] mt-[9px] text-sky-600 no-underline truncate'; urlElement.textContent = formattedUrl; textWrapper.appendChild(titleElement);