chore: improve floating schedule button (#23873)
Co-authored-by: Eunjae Lee <hey@eunjae.dev>
This commit is contained in:
co-authored by
Eunjae Lee
parent
88be45457f
commit
5f8db0557c
@@ -17,7 +17,7 @@ const getHtml = ({
|
||||
rounded-full py-4 px-6 text-base outline-none drop-shadow-md transition focus:outline-none fo
|
||||
cus:ring-4 focus:ring-gray-600 focus:ring-opacity-50 active:scale-95"
|
||||
style="background-color:${buttonColor}; color:${buttonTextColor} z-index: 10001">
|
||||
<div id="button-icon" class="mr-3 flex items-center justify-center">
|
||||
<div id="button-icon" class="flex items-center justify-center">
|
||||
<svg
|
||||
class="h-7 w-7"
|
||||
fill="none"
|
||||
@@ -31,7 +31,7 @@ style="background-color:${buttonColor}; color:${buttonTextColor} z-index: 10001"
|
||||
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>
|
||||
</svg>
|
||||
</div>
|
||||
<div id="button" class="font-semibold leading-5 antialiased">${buttonText}</div>
|
||||
<div id="button" class="ml-3 font-semibold leading-5 antialiased">${buttonText}</div>
|
||||
</button>`;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user