Fix ButtonCircle sizes?
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
export let color: string = undefined
|
||||
export let size: string = undefined
|
||||
export let type: string = undefined
|
||||
export let form: string = undefined
|
||||
export let clone: boolean = false
|
||||
export let disabled: boolean = undefined
|
||||
export let label: string = undefined
|
||||
@@ -33,7 +32,7 @@
|
||||
{/if}
|
||||
</a>
|
||||
{:else}
|
||||
<button {type} {form} class={classes} disabled={disabled} tabindex="0" aria-label={label} on:click>
|
||||
<button {type} class={classes} disabled={disabled} tabindex="0" aria-label={label} on:click>
|
||||
{#if clone}
|
||||
{#each Array(2) as _}
|
||||
<slot />
|
||||
|
||||
@@ -70,8 +70,8 @@
|
||||
*/
|
||||
// Tiny size
|
||||
&--tiny {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
height: 24px !important;
|
||||
width: 24px !important;
|
||||
|
||||
:global(img), :global(svg) {
|
||||
width: 8px;
|
||||
@@ -82,8 +82,8 @@
|
||||
|
||||
// Small size
|
||||
&--small {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
height: 32px !important;
|
||||
width: 32px !important;
|
||||
|
||||
:global(img), :global(svg) {
|
||||
width: 16px;
|
||||
|
||||
Reference in New Issue
Block a user