Remove duplicate close button from domain purchase modal.
Deploy Ladill Servers / deploy (push) Successful in 25s
Deploy Ladill Servers / deploy (push) Successful in 25s
Rely on the shared modal component's close control instead of rendering a second one in the embed header. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,15 +2,11 @@
|
||||
|
||||
<x-modal name="domain-purchase" maxWidth="2xl">
|
||||
<div class="flex flex-col" style="height: min(80vh, 720px);">
|
||||
<div class="flex shrink-0 items-center justify-between border-b border-slate-100 px-5 py-4">
|
||||
<div class="flex shrink-0 items-center justify-between border-b border-slate-100 px-5 py-4 pr-14">
|
||||
<div>
|
||||
<h2 class="text-base font-semibold text-slate-900">Register a domain</h2>
|
||||
<p class="mt-0.5 text-xs text-slate-500">Search and buy without leaving {{ $appLabel }}.</p>
|
||||
</div>
|
||||
<button type="button" data-close-modal="domain-purchase"
|
||||
class="rounded-lg p-1.5 text-slate-400 transition hover:bg-slate-100 hover:text-slate-600">
|
||||
<svg class="h-5 w-5" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
<iframe id="ladill-domain-purchase-frame" title="Ladill Domains"
|
||||
src="about:blank"
|
||||
|
||||
Reference in New Issue
Block a user