Bug Description
In the admin user edit page, the "Custom Profile Fields" section rendered by renderCustomProfileSection() lacks bottom padding/spacing. The last custom field sits flush against whatever comes below it.
Location
renderCustomProfileSection() in user-profiles/user-profile-templates.ts returns:
<div class="pt-6 border-t border-zinc-950/5 dark:border-white/5">
<h3 class="text-base font-semibold text-zinc-950 dark:text-white mb-4">Custom Profile Fields</h3>
<div class="space-y-4">
${fieldsHtml}
</div>
</div>
Suggested Fix
Add bottom padding and a bottom border to match the top:
<div class="py-6 border-t border-b border-zinc-950/5 dark:border-white/5">
Or simply add pb-6 to the container div.
Environment
@sonicjs-cms/core: 2.12.1
Bug Description
In the admin user edit page, the "Custom Profile Fields" section rendered by
renderCustomProfileSection()lacks bottom padding/spacing. The last custom field sits flush against whatever comes below it.Location
renderCustomProfileSection()inuser-profiles/user-profile-templates.tsreturns:Suggested Fix
Add bottom padding and a bottom border to match the top:
Or simply add
pb-6to the container div.Environment
@sonicjs-cms/core: 2.12.1