add rules read timeout of 30 seconds
All checks were successful
delpoy / build-and-deploy (push) Successful in 42s
All checks were successful
delpoy / build-and-deploy (push) Successful in 42s
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
export let readonly = false;
|
||||
export let size: 'xs' | 'sm' | 'md' | 'lg' = 'md';
|
||||
export let pickyWidth = true;
|
||||
export let containerClass = '';
|
||||
|
||||
export let inputElement: HTMLInputElement | undefined = undefined;
|
||||
|
||||
@@ -34,7 +35,7 @@
|
||||
</script>
|
||||
|
||||
<!-- the cursor-not-allowed class must be set here because a disabled button does not respect the 'cursor' css property -->
|
||||
<div class={type === 'submit' && disabled ? 'cursor-not-allowed' : ''}>
|
||||
<div class={containerClass} class:cursor-not-allowed={type === 'submit' && disabled}>
|
||||
{#if type === 'submit'}
|
||||
<input
|
||||
class="btn"
|
||||
|
||||
Reference in New Issue
Block a user