make the create btn slightly larger

This commit is contained in:
Gani Georgiev
2024-10-08 16:22:49 +03:00
parent 4421d1a217
commit ed1dc54f27
31 changed files with 82 additions and 76 deletions
@@ -551,8 +551,10 @@
<div class="btns-group no-gap">
<button
type="button"
class="btn btn-expanded"
title="Save and close"
class="btn"
class:btn-expanded={!collection.id}
class:btn-expanded-sm={!!collection.id}
class:btn-loading={isSaving}
disabled={!canSave || isSaving}
on:click={() => saveConfirm()}
@@ -36,7 +36,7 @@
// ... show a screen/popup to enter the password from the email ...
// authenticate with the requested OTP id and the email password
const authData = await pb.collection('${collection?.name}').authWithOtp(
const authData = await pb.collection('${collection?.name}').authWithOTP(
req.otpId,
"YOUR_OTP",
);
@@ -62,7 +62,7 @@
// ... show a screen/popup to enter the password from the email ...
// authenticate with the requested OTP id and the email password
final authData = await pb.collection('${collection?.name}').authWithOtp(
final authData = await pb.collection('${collection?.name}').authWithOTP(
req.otpId,
"YOUR_OTP",
);
@@ -735,7 +735,9 @@
type="submit"
form={formId}
title="Save and close"
class="btn btn-expanded"
class="btn"
class:btn-expanded={isNew}
class:btn-expanded-sm={!isNew}
class:btn-loading={isSaving || isLoading}
disabled={!canSave || isSaving}
>