From 135b3acbf39a0fa5d8b3f3de46042a1b9f1c204a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 23 Apr 2021 14:03:59 +0200 Subject: [PATCH] adds hoverable prop to modal close button --- packages/bbui/src/Modal/ModalContent.svelte | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte index 47848dc44f..a5b2ebb75d 100644 --- a/packages/bbui/src/Modal/ModalContent.svelte +++ b/packages/bbui/src/Modal/ModalContent.svelte @@ -35,7 +35,8 @@ style="position: relative;" role="dialog" tabindex="-1" - aria-modal="true"> + aria-modal="true" +>

{title} @@ -48,7 +49,8 @@ {#if showCancelButton || showConfirmButton}
+ class="spectrum-ButtonGroup spectrum-Dialog-buttonGroup spectrum-Dialog-buttonGroup--noFooter" + > {#if showCancelButton} @@ -59,7 +61,8 @@ cta {...$$restProps} disabled={confirmDisabled} - on:click={confirm}> + on:click={confirm} + > {confirmText} {/if} @@ -67,7 +70,7 @@ {/if} {#if showCloseIcon}
- +
{/if}