fix: align Send Invite button with form inputs
Add invisible label above button to match input field structure, ensuring proper vertical alignment when using items-end grid alignment.
This commit is contained in:
parent
c8f167cec6
commit
5a63adacef
1 changed files with 12 additions and 7 deletions
|
|
@ -644,13 +644,18 @@
|
|||
{"Viewer", "viewer"}
|
||||
]}
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
phx-disable-with={t("Sending...")}
|
||||
class="rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-xs hover:bg-indigo-500 dark:bg-indigo-500 dark:shadow-none dark:hover:bg-indigo-400 h-[42px]"
|
||||
>
|
||||
{t("Send Invite")}
|
||||
</button>
|
||||
<div>
|
||||
<label class="block text-sm/6 font-medium text-gray-900 dark:text-white invisible">
|
||||
|
||||
</label>
|
||||
<button
|
||||
type="submit"
|
||||
phx-disable-with={t("Sending...")}
|
||||
class="rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-xs hover:bg-indigo-500 dark:bg-indigo-500 dark:shadow-none dark:hover:bg-indigo-400 h-[42px]"
|
||||
>
|
||||
{t("Send Invite")}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</.form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue