Skip to content

Commit 5f8db05

Browse files
PeerRicheunjae-lee
andauthored
chore: improve floating schedule button (calcom#23873)
Co-authored-by: Eunjae Lee <hey@eunjae.dev>
1 parent 88be454 commit 5f8db05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/embeds/embed-core/src/FloatingButton/FloatingButtonHtml.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const getHtml = ({
1717
rounded-full py-4 px-6 text-base outline-none drop-shadow-md transition focus:outline-none fo
1818
cus:ring-4 focus:ring-gray-600 focus:ring-opacity-50 active:scale-95"
1919
style="background-color:${buttonColor}; color:${buttonTextColor} z-index: 10001">
20-
<div id="button-icon" class="mr-3 flex items-center justify-center">
20+
<div id="button-icon" class="flex items-center justify-center">
2121
<svg
2222
class="h-7 w-7"
2323
fill="none"
@@ -31,7 +31,7 @@ style="background-color:${buttonColor}; color:${buttonTextColor} z-index: 10001"
3131
d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
3232
</svg>
3333
</div>
34-
<div id="button" class="font-semibold leading-5 antialiased">${buttonText}</div>
34+
<div id="button" class="ml-3 font-semibold leading-5 antialiased">${buttonText}</div>
3535
</button>`;
3636
};
3737

0 commit comments

Comments
 (0)