UBER-675: updated pop-ups and components layout (#3631)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2023-08-25 16:49:14 +07:00
committed by GitHub
parent 15b61ce2fa
commit 97abd2fc12
42 changed files with 864 additions and 509 deletions
@@ -121,6 +121,7 @@
<div {id} bind:this={container} class="min-w-0" class:w-full={width === '100%'} class:h-full={$$slots.content}>
{#if $$slots.content}
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="w-full h-full flex-streatch" on:click={_click}>
<slot name="content" />
</div>
@@ -143,7 +144,7 @@
{:else}
<div class="flex-row-center">
{#if icon}
<Icon {icon} size={kind === 'link' ? 'small' : size} />
<Icon {icon} size={kind === 'link' || kind === 'stepper' ? 'small' : size} />
{/if}
<div class="ml-2">
<Label {label} />