cleaned up some components conditional css class assignment
This commit is contained in:
@@ -10,11 +10,7 @@
|
||||
} = $props();
|
||||
</script>
|
||||
|
||||
{#if fullWidth}
|
||||
<button class="outlined-button outlined-button-fullwidth" onclick={onClick}>{text}</button>
|
||||
{:else}
|
||||
<button class="outlined-button" onclick={onClick}>{text}</button>
|
||||
{/if}
|
||||
<button class="outlined-button {fullWidth ? "outlined-button-fullwidth" : ""}" onclick={onClick}>{text}</button>
|
||||
|
||||
<style>
|
||||
.outlined-button {
|
||||
|
||||
Reference in New Issue
Block a user