1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00

Fix modal not shrinking to fit screen size

This commit is contained in:
Andrew Kingston 2021-07-30 14:13:16 +01:00
parent 7fef963067
commit 760ec7698d
2 changed files with 3 additions and 2 deletions

View file

@ -122,6 +122,7 @@
--spectrum-dialog-confirm-border-radius: var(
--spectrum-global-dimension-size-100
);
max-width: 100%;
}
:global(.spectrum--lightest .spectrum-Modal.inline) {
border: var(--border-light);

View file

@ -79,8 +79,8 @@
</div>
{/if}
{#if showCloseIcon}
<div class="close-icon" on:click={hide}>
<Icon hoverable name="Close" />
<div class="close-icon">
<Icon hoverable name="Close" on:click={cancel} />
</div>
{/if}
</div>