refactor: add styles for disabled button

pagebuilder
abhisheks 2024-01-04 15:40:51 +05:30
parent 9efbfd3852
commit 58ae059a6e
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@
<div id="payment-confirmation"> <div id="payment-confirmation">
<div class="ps-shown-by-js"> <div class="ps-shown-by-js">
<button type="submit" {if !$selected_payment_option} disabled {/if} class="uppercase font-medium py-2 text-center w-full bg-blue-950 hover:bg-blue-900 text-gray-50 cursor-pointer"> <button type="submit" {if !$selected_payment_option} disabled {/if} class="uppercase font-medium py-2 text-center w-full bg-blue-950 hover:bg-blue-900 disabled:bg-gray-600 text-gray-50 cursor-pointer">
{l s='Place order' d='Shop.Theme.Checkout'} {l s='Place order' d='Shop.Theme.Checkout'}
</button> </button>
{if $show_final_summary} {if $show_final_summary}